]> git.baikalelectronics.ru Git - kernel.git/commit
ARM/dma-mapping: merge IOMMU ops
authorRobin Murphy <robin.murphy@arm.com>
Thu, 21 Apr 2022 11:36:59 +0000 (12:36 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 7 Jul 2022 16:18:58 +0000 (18:18 +0200)
commitd5c71cb042cecab2d0a023814f752b0188bb5d5b
tree4aa32da7b10e2dd25d462444bf9048d597078ac5
parent9c8e26f0bf2592ea942040823f2a8323e3c68b28
ARM/dma-mapping: merge IOMMU ops

The dma_sync_* operations are now the only difference between the
coherent and non-coherent IOMMU ops. Some minor tweaks to make those
safe for coherent devices with minimal overhead, and we can condense
down to a single set of DMA ops.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Marc Zyngier <maz@kernel.org>
arch/arm/mm/dma-mapping.c