DMA mapping API(IOMMU) for ARM64?
Hiroshi Doyu
hdoyu at nvidia.com
Tue Jun 18 11:20:45 EDT 2013
Arnd Bergmann <arnd at arndb.de> wrote @ Tue, 18 Jun 2013 16:15:27 +0200:
> On Tuesday 18 June 2013, Catalin Marinas wrote:
> > > 1, Copy arch/arm/mm/dma-mapping.c arch/arm64/mm/dma-mapping.c(+swiotlb)
> > > 2, Adapt arch/arm64/mm/dma-mapping.c(+swiotlb) to 64bit compatible.
> > > 3, Factor out the common code from them into mm/dma-mapping.c
> >
> > Or add the relevant code to something like lib/iommu-helper.c, convert
> > arm64 to use that and we can work on converting arm and other
> > architectures afterwards.
>
> Yes, that would work too.
Ok, this seems to be the way to go. Thank you for the guide.
More information about the linux-arm-kernel
mailing list