From: Gregory CLEMENT Date: Mon, 8 Apr 2013 22:52:10 +0000 (+0200) Subject: ARM: mvebu: Limit the DMA zone when LPAE is selected X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=99ff056193924005e650ab3f1719995c3ca82646;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Jason Cooper --- diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index c3715a536d87..e11acbb0a46d 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