Re: wrong usage of MAX_DMA_ADDRESS in bootmem.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Lameter
Date: Tuesday, September 30, 2008 - 12:56 pm

Nicolas Pitre wrote:

ok so do

#define MAX_DMA_ADDRESS ISA_DMA_THRESHOLD

 >> I suspect all those places which are doing __pa(MAX_DMA_ADDRESS) really

MAX_DMA_ADDRESS is the highest address used for ZONE_DMA / GFP_DMA

Does ISA_DMA_THRESHOLD have any meaning on ARM? If you use old ISA stuff then
you need CONFIG_ZONE_DMA and therefore also MAX_DMA_ADDRESS.

If not then there is no need to define CONFIG_ZONE_DMA and MAX_DMA_ADDRESS
looses its usual meaning.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
wrong usage of MAX_DMA_ADDRESS in bootmem.h, Nicolas Pitre, (Tue Sep 30, 12:35 pm)
Re: wrong usage of MAX_DMA_ADDRESS in bootmem.h, Christoph Lameter, (Tue Sep 30, 12:56 pm)
Re: wrong usage of MAX_DMA_ADDRESS in bootmem.h, Russell King - ARM Linux, (Tue Sep 30, 1:12 pm)
Re: wrong usage of MAX_DMA_ADDRESS in bootmem.h, Nicolas Pitre, (Tue Sep 30, 2:09 pm)
Re: wrong usage of MAX_DMA_ADDRESS in bootmem.h, Christoph Lameter, (Wed Oct 1, 5:07 am)
Re: wrong usage of MAX_DMA_ADDRESS in bootmem.h, Russell King - ARM Linux, (Wed Oct 1, 7:06 am)
Re: wrong usage of MAX_DMA_ADDRESS in bootmem.h, Christoph Lameter, (Wed Oct 1, 7:50 am)
Re: wrong usage of MAX_DMA_ADDRESS in bootmem.h, Russell King - ARM Linux, (Wed Oct 1, 8:02 am)
Re: wrong usage of MAX_DMA_ADDRESS in bootmem.h, Christoph Lameter, (Thu Oct 2, 9:49 am)
Re: wrong usage of MAX_DMA_ADDRESS in bootmem.h, Russell King - ARM Linux, (Thu Oct 2, 12:06 pm)