iommu/dma: Move public interfaces to linux/iommu.h
authorRobin Murphy <robin.murphy@arm.com>
Tue, 16 Aug 2022 17:28:04 +0000 (18:28 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 7 Sep 2022 12:47:00 +0000 (14:47 +0200)
commitfa49364cd5e65797014688cba623541083b3e5b0
treedb6fa6420c1ba8771eeb895b2a5eddcfebb583a5
parentde9f8a91eb32bb79149c4fc790df3b54ae710d18
iommu/dma: Move public interfaces to linux/iommu.h

The iommu-dma layer is now mostly encapsulated by iommu_dma_ops, with
only a couple more public interfaces left pertaining to MSI integration.
Since these depend on the main IOMMU API header anyway, move their
declarations there, taking the opportunity to update the half-baked
comments to proper kerneldoc along the way.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/9cd99738f52094e6bed44bfee03fa4f288d20695.1660668998.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
arch/arm64/mm/dma-mapping.c
drivers/iommu/dma-iommu.c
drivers/irqchip/irq-gic-v2m.c
drivers/irqchip/irq-gic-v3-its.c
drivers/irqchip/irq-gic-v3-mbi.c
drivers/irqchip/irq-ls-scfg-msi.c
drivers/vfio/vfio_iommu_type1.c
include/linux/dma-iommu.h
include/linux/iommu.h