summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2013-04-09 00:52:10 +0200
committerJason Cooper <jason@lakedaemon.net>2013-04-15 14:06:53 +0000
commit99ff056193924005e650ab3f1719995c3ca82646 (patch)
tree0466d4a00681f67befd6291da53940cc72986444 /arch/arm/mach-mvebu
parent7ad2a78342a6465827226ac00fca6a384cd23f82 (diff)
downloadop-kernel-dev-99ff056193924005e650ab3f1719995c3ca82646.zip
op-kernel-dev-99ff056193924005e650ab3f1719995c3ca82646.tar.gz
ARM: mvebu: Limit the DMA zone when LPAE is selected
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>
Diffstat (limited to 'arch/arm/mach-mvebu')
-rw-r--r--arch/arm/mach-mvebu/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index c3715a5..e11acbb 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -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
OpenPOWER on IntegriCloud