aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-11-02 22:05:43 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-11-26 12:26:14 -0500
commitcce335ae47e231398269fb05fa48e0e9cbf289e0 (patch)
treea01ea9ad318d459393a905df5c53b68b754300da /arch/mips/Kconfig
parent940f6b48a130e0a33cb8bd397dd0e277166470ad (diff)
[MIPS] 64-bit Sibyte kernels need DMA32.
Sibyte SOCs only have 32-bit PCI. Due to the sparse use of the address space only the first 1GB of memory is mapped at physical addresses below 1GB. If a system has more than 1GB of memory 32-bit DMA will not be able to reach all of it. For now this patch is good enough to keep Sibyte users happy but it seems eventually something like swiotlb will be needed for Sibyte. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 7750829b416a..4c6ba7b30a68 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -515,6 +515,7 @@ config SIBYTE_SWARM
515 select SYS_SUPPORTS_HIGHMEM 515 select SYS_SUPPORTS_HIGHMEM
516 select SYS_SUPPORTS_KGDB 516 select SYS_SUPPORTS_KGDB
517 select SYS_SUPPORTS_LITTLE_ENDIAN 517 select SYS_SUPPORTS_LITTLE_ENDIAN
518 select ZONE_DMA32 if 64BIT
518 519
519config SIBYTE_LITTLESUR 520config SIBYTE_LITTLESUR
520 bool "Sibyte BCM91250C2-LittleSur" 521 bool "Sibyte BCM91250C2-LittleSur"
@@ -565,6 +566,7 @@ config SIBYTE_BIGSUR
565 select SYS_SUPPORTS_BIG_ENDIAN 566 select SYS_SUPPORTS_BIG_ENDIAN
566 select SYS_SUPPORTS_HIGHMEM 567 select SYS_SUPPORTS_HIGHMEM
567 select SYS_SUPPORTS_LITTLE_ENDIAN 568 select SYS_SUPPORTS_LITTLE_ENDIAN
569 select ZONE_DMA32 if 64BIT
568 570
569config SNI_RM 571config SNI_RM
570 bool "SNI RM200/300/400" 572 bool "SNI RM200/300/400"
@@ -1664,6 +1666,9 @@ config ARCH_DISCONTIGMEM_ENABLE
1664 or have huge holes in the physical address space for other reasons. 1666 or have huge holes in the physical address space for other reasons.
1665 See <file:Documentation/vm/numa> for more. 1667 See <file:Documentation/vm/numa> for more.
1666 1668
1669config ARCH_POPULATES_NODE_MAP
1670 def_bool y
1671
1667config ARCH_SPARSEMEM_ENABLE 1672config ARCH_SPARSEMEM_ENABLE
1668 bool 1673 bool
1669 select SPARSEMEM_STATIC 1674 select SPARSEMEM_STATIC
@@ -1969,6 +1974,9 @@ config I8253
1969config PCSPEAKER 1974config PCSPEAKER
1970 bool 1975 bool
1971 1976
1977config ZONE_DMA32
1978 bool
1979
1972source "drivers/pcmcia/Kconfig" 1980source "drivers/pcmcia/Kconfig"
1973 1981
1974source "drivers/pci/hotplug/Kconfig" 1982source "drivers/pci/hotplug/Kconfig"