On 04/05/2013 10:41 PM, Arnd Bergmann wrote: > On Friday 05 April 2013, Gregory CLEMENT wrote: >> 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.clem...@free-electrons.com> > > > Shouldn't that be ZONE_DMA32? >
Well common code for ARM don't manage the ZONE_DMA32. Whereas with ZONE_DMA, setup_dma_zone() in arch/arm/mm/init.c does exactly what I want: setting arm_dma_limit to 0xffffffff. ZONE_DMA32 is used on arm64 however. > Arnd > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/