]> git.baikalelectronics.ru Git - kernel.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)
commit8de0b2965433722cdc51d7cd84cbf4e7588d5ecc
treea01ea9ad318d459393a905df5c53b68b754300da
parent4d74398a704cc68bee537858346ca49c7b6a4df7
[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