]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/dma: move the arm64 wrappers to common code
authorChristoph Hellwig <hch@lst.de>
Mon, 20 May 2019 07:29:29 +0000 (09:29 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 27 May 2019 15:31:10 +0000 (17:31 +0200)
commit2d283f6c31273b0adaa61a84dd1ba15d8f974269
treef9d33e1eb1c2dc5baddb7a9d9036ba23047076de
parenta6d568b052cb19b3fd72abc6604825b8f05c965b
iommu/dma: move the arm64 wrappers to common code

There is nothing really arm64 specific in the iommu_dma_ops
implementation, so move it to dma-iommu.c and keep a lot of symbols
self-contained.  Note the implementation does depend on the
DMA_DIRECT_REMAP infrastructure for now, so we'll have to make the
DMA_IOMMU support depend on it, but this will be relaxed soon.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
arch/arm64/mm/dma-mapping.c
drivers/iommu/Kconfig
drivers/iommu/dma-iommu.c
include/linux/dma-iommu.h