[PATCH v4 0/7] iommu: Retire bus ops

Robin Murphy posted 7 patches 2 years, 3 months ago
There is a newer version of this series
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c |   3 -
drivers/iommu/arm/arm-smmu/arm-smmu.c       |  12 +-
drivers/iommu/arm/arm-smmu/qcom_iommu.c     |  16 +-
drivers/iommu/iommu.c                       | 162 +++++++++++++-------
drivers/iommu/mtk_iommu.c                   |   7 +-
drivers/iommu/mtk_iommu_v1.c                |   3 -
drivers/iommu/sprd-iommu.c                  |   8 +-
drivers/iommu/virtio-iommu.c                |   3 -
include/acpi/acpi_bus.h                     |   2 +
include/linux/device.h                      |   1 -
include/linux/device/bus.h                  |   5 -
include/linux/dma-map-ops.h                 |   1 +
include/linux/iommu.h                       |   1 +
13 files changed, 115 insertions(+), 109 deletions(-)
[PATCH v4 0/7] iommu: Retire bus ops
Posted by Robin Murphy 2 years, 3 months ago
v3: https://lore.kernel.org/linux-iommu/cover.1694693889.git.robin.murphy@arm.com/

Hi all,

This one really is hopefully ready to go now - rebased on iommu/core,
and lightly tested by booting a machine with SMMUv3 and running the
IOMMUFD selftest for good measure (with the usual handful of mmap()
failures I always seem to get, but nothing relevant exploded).

Thanks,
Robin.


Robin Murphy (7):
  iommu: Factor out some helpers
  iommu: Decouple iommu_present() from bus ops
  iommu: Validate that devices match domains
  iommu: Switch __iommu_domain_alloc() to device ops
  iommu/arm-smmu: Don't register fwnode for legacy binding
  iommu: Retire bus ops
  iommu: Clean up open-coded ownership checks

 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c |   3 -
 drivers/iommu/arm/arm-smmu/arm-smmu.c       |  12 +-
 drivers/iommu/arm/arm-smmu/qcom_iommu.c     |  16 +-
 drivers/iommu/iommu.c                       | 162 +++++++++++++-------
 drivers/iommu/mtk_iommu.c                   |   7 +-
 drivers/iommu/mtk_iommu_v1.c                |   3 -
 drivers/iommu/sprd-iommu.c                  |   8 +-
 drivers/iommu/virtio-iommu.c                |   3 -
 include/acpi/acpi_bus.h                     |   2 +
 include/linux/device.h                      |   1 -
 include/linux/device/bus.h                  |   5 -
 include/linux/dma-map-ops.h                 |   1 +
 include/linux/iommu.h                       |   1 +
 13 files changed, 115 insertions(+), 109 deletions(-)

-- 
2.39.2.101.g768bb238c484.dirty