]> 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)
commit9db7f788bd02fc882842ced2aaa22f6725d29b56
treef8d5e23499afb19587bb92412bec3ef62fce7fe2
parent3a89b2e7f9c335b6dd9ed79111e87ce64df90acf
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