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

Merge the coherent and non-coherent callbacks down to a single
implementation each, relying on the generic dev->dma_coherent
flag at the points where the difference matters.

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