]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MIPS] 64-bit Sibyte kernels need DMA32.
authorRalf Baechle <ralf@linux-mips.org>
Sat, 3 Nov 2007 02:05:43 +0000 (02:05 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Nov 2007 17:26:14 +0000 (17:26 +0000)
commitcce335ae47e231398269fb05fa48e0e9cbf289e0
treea01ea9ad318d459393a905df5c53b68b754300da
parent940f6b48a130e0a33cb8bd397dd0e277166470ad
[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>
arch/mips/Kconfig
arch/mips/kernel/setup.c
arch/mips/mm/dma-default.c
arch/mips/mm/init.c
include/asm-mips/dma.h