linux-stable-rt/arch/mips
Christoph Lameter 5ac6da669e [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA
As Andi pointed out: CONFIG_GENERIC_ISA_DMA only disables the ISA DMA
channel management.  Other functionality may still expect GFP_DMA to
provide memory below 16M.  So we need to make sure that CONFIG_ZONE_DMA is
set independent of CONFIG_GENERIC_ISA_DMA.  Undo the modifications to
mm/Kconfig where we made ZONE_DMA dependent on GENERIC_ISA_DMA and set
theses explicitly in each arches Kconfig.

Reviews must occur for each arch in order to determine if ZONE_DMA can be
switched off.  It can only be switched off if we know that all devices
supported by a platform are capable of performing DMA transfers to all of
memory (Some arches already support this: uml, avr32, sh sh64, parisc and
IA64/Altix).

In order to switch ZONE_DMA off conditionally, one would have to establish
a scheme by which one can assure that no drivers are enabled that are only
capable of doing I/O to a part of memory, or one needs to provide an
alternate means of performing an allocation from a specific range of memory
(like provided by alloc_pages_range()) and insure that all drivers use that
call.  In that case the arches alloc_dma_coherent() may need to be modified
to call alloc_pages_range() instead of relying on GFP_DMA.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-11 10:51:19 -08:00
..
arc [MIPS] Use ARRAY_SIZE macro when appropriate 2007-02-06 16:53:19 +00:00
au1000 [MIPS] PB1100: Fix pile of warnings 2007-02-06 16:53:20 +00:00
basler/excite [MIPS] Define MIPS_CPU_IRQ_BASE in generic header 2007-02-06 16:53:08 +00:00
boot
cobalt [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
configs [MIPS] Malta: Resurrect MTD support for onboard flash. 2006-12-12 01:46:24 +00:00
ddb5xxx [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
dec [TC] TURBOchannel support for the DECstation 2007-02-09 16:23:16 +00:00
emma2rh [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
gt64120 [MIPS] Remove superfluous "ifdef CONFIG_KGDB". 2007-02-06 16:53:17 +00:00
jazz [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
jmr3927 [MIPS] Use ARRAY_SIZE macro when appropriate 2007-02-06 16:53:19 +00:00
kernel [APM] MIPS: Convert to use shared APM emulation. 2007-02-09 17:08:58 +00:00
lasat [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
lib [MIPS] Fix warnings in run_uncached on 32bit kernel 2007-02-06 16:53:24 +00:00
lib-32 [MIPS] Unify memset.S 2007-02-06 16:53:12 +00:00
lib-64 [MIPS] Unify memset.S 2007-02-06 16:53:12 +00:00
math-emu [MIPS] Make sure cpu_has_fpu is used only in atomic context 2006-10-09 23:20:48 +01:00
mips-boards [MIPS] Use ARRAY_SIZE macro when appropriate 2007-02-06 16:53:19 +00:00
mm [MIPS] Move some kernel globals from asm file to C file. 2007-02-06 16:53:16 +00:00
momentum [MIPS] Jaguar ATX: Fix large number of warnings. 2007-02-06 16:53:22 +00:00
oprofile [MIPS] Do not allow oprofile to be enabled on SMTC. 2007-02-06 16:53:17 +00:00
pci [MIPS] Use ARRAY_SIZE macro when appropriate 2007-02-06 16:53:19 +00:00
philips/pnx8550 [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
pmc-sierra [MIPS] Yosemite: Fix missing parens in SERIAL_READ_1 macro 2007-02-06 16:53:25 +00:00
qemu [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
sgi-ip22 [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
sgi-ip27 [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
sgi-ip32 [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
sibyte [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
sni [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
tx4927 [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
tx4938 [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
vr41xx [MIPS] vr41xx: Use symbolic names for IRQ numers 2007-02-06 16:53:15 +00:00
Kconfig [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
Kconfig.debug [MIPS] Fix some whitespace damage 2007-02-06 16:53:18 +00:00
Makefile [MIPS] There is no __GNUC_MAJOR__ 2007-01-24 19:23:21 +00:00
defconfig [MIPS] Rename SNI_RM200_PCI to just SNI_RM preparing for more RM machines 2006-12-09 01:03:58 +00:00