[PATCH 2/5] arm: mvebu: Select DMA_BOUNCE when LPAE is selected in Kconfig

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Mar 22 22:32:51 EST 2013


On Thu, Mar 21, 2013 at 05:26:15PM +0100, Gregory CLEMENT wrote:
> From: Lior Amsalem <alior at marvell.com>
> 
> For mvebu IOs are 32 bits and we have 40 bits memory due to LPAE so
> make sure we give 32 bits addresses to the IOs.
> 
> Signed-off-by: Lior Amsalem <alior at marvell.com>
> Tested-by: Franklin <flin at marvell.com>
> Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>

Oh god no.  Please move away from the addition on DMABOUNCE - that code
creaks, doesn't have highmem support, and is known to give problems on
various platforms.

Instead, please rely on using the DMA mask and such like, just like on
x86.


More information about the devicetree-discuss mailing list