[PATCH 0/3] iommu/dma: Some housekeeping

From: Robin Murphy
Date: Tue Aug 16 2022 - 13:28:39 EST


Hi All,

It's been a while now since iommu-dma grew from a library of DMA ops
helpers for arch code into something more abstracted and closely coupled
to the IOMMU API core, so it seemed about time to do some housekeeping
in the more neglected areas to reflect that.

The header reorganisation does touch a range of areas (a couple of which
seemingly had no reason to be involved anyway), but hopefully these are
all low-impact changes that nobody minds going through the IOMMU tree.

Now for the build-bots to tell me what I've missed...

Thanks,
Robin.


Robin Murphy (3):
iommu/dma: Clean up Kconfig
iommu/dma: Move public interfaces to linux/iommu.h
iommu/dma: Make header private

arch/arm64/Kconfig | 1 -
arch/arm64/mm/dma-mapping.c | 2 +-
drivers/acpi/viot.c | 1 -
drivers/gpu/drm/exynos/exynos_drm_dma.c | 1 -
drivers/iommu/Kconfig | 3 +-
drivers/iommu/amd/Kconfig | 1 -
drivers/iommu/amd/iommu.c | 2 +-
drivers/iommu/apple-dart.c | 3 +-
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +-
drivers/iommu/arm/arm-smmu/arm-smmu.c | 2 +-
drivers/iommu/dma-iommu.c | 18 +++-
drivers/iommu/dma-iommu.h | 38 +++++++++
drivers/iommu/intel/Kconfig | 1 -
drivers/iommu/intel/iommu.c | 2 +-
drivers/iommu/iommu.c | 3 +-
drivers/iommu/virtio-iommu.c | 3 +-
drivers/irqchip/irq-gic-v2m.c | 2 +-
drivers/irqchip/irq-gic-v3-its.c | 2 +-
drivers/irqchip/irq-gic-v3-mbi.c | 2 +-
drivers/irqchip/irq-ls-scfg-msi.c | 2 +-
drivers/vfio/vfio_iommu_type1.c | 1 -
include/linux/dma-iommu.h | 93 ---------------------
include/linux/iommu.h | 36 ++++++++
23 files changed, 105 insertions(+), 116 deletions(-)
create mode 100644 drivers/iommu/dma-iommu.h
delete mode 100644 include/linux/dma-iommu.h

--
2.36.1.dirty