[PATCH v2] arm64: Allow for different DMA and CPU bus offsets

Catalin Marinas catalin.marinas at arm.com
Wed May 18 06:27:41 PDT 2016


On Wed, May 18, 2016 at 02:53:30PM +0200, Alexander Graf wrote:
> On arm64, all SoCs we supported so far either have an IOMMU or have bus
> addresses equal to CPU addresses.
> 
> However, with the Raspberry Pi 3 coming up, this is no longer true. To
> allow DMA to work with an AArch64 kernel on those devices, let's allow
> devices to have DMA offsets again.
> 
> Signed-off-by: Alexander Graf <agraf at suse.de>

We were aware about this issue but we've been waiting for an actual use
case. I'll queue this for 4.8 (given that RPi3 is not supported by the
arm64 kernel, I don't see the rush to merge it earlier).

Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list