ARM: mvebu: Limit the DMA zone when LPAE is selected
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 8 Apr 2013 22:52:10 +0000 (00:52 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 15 Apr 2013 14:06:53 +0000 (14:06 +0000)
When LPAE is activated on Armada XP, all registers and IOs are still
32bit, the 40bit extension is on the CPU to DRAM path (windows) only.
That means that all the DMA transfer are restricted to the low 32 bits
address space. This is limitation is achieved by selecting ZONE_DMA.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/Kconfig

index c3715a536d8777cb43dcf53760129fee1c073de9..e11acbb0a46d4316c82f23cb333744cbab41d89f 100644 (file)
@@ -14,6 +14,7 @@ config ARCH_MVEBU
        select MVEBU_CLK_CPU
        select MVEBU_CLK_GATING
        select MVEBU_MBUS
+       select ZONE_DMA if ARM_LPAE
 
 if ARCH_MVEBU