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

Robin Murphy posted 7 patches 2 years ago
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                       | 143 +++++++++++++-------
drivers/iommu/iommufd/hw_pagetable.c        |   2 +
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                       |   2 +-
14 files changed, 110 insertions(+), 98 deletions(-)
[PATCH v6 0/7] iommu: Retire bus ops
Posted by Robin Murphy 2 years ago
v5: https://lore.kernel.org/linux-iommu/cover.1697047261.git.robin.murphy@arm.com/

Yet another rebase, this time just tweaking patch #3 for the new
domain_alloc_user() sites, and picking up reviews/acks.

Thanks,
Robin.


Robin Murphy (7):
  iommu: Factor out some helpers
  iommu: Decouple iommu_present() from bus ops
  iommu: Validate that devices match domains
  iommu: Decouple iommu_domain_alloc() from bus 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                       | 143 +++++++++++++-------
 drivers/iommu/iommufd/hw_pagetable.c        |   2 +
 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                       |   2 +-
 14 files changed, 110 insertions(+), 98 deletions(-)

-- 
2.39.2.101.g768bb238c484.dirty
Re: [PATCH v6 0/7] iommu: Retire bus ops
Posted by Joerg Roedel 2 years ago
On Tue, Nov 21, 2023 at 06:03:56PM +0000, Robin Murphy wrote:
> Robin Murphy (7):
>   iommu: Factor out some helpers
>   iommu: Decouple iommu_present() from bus ops
>   iommu: Validate that devices match domains
>   iommu: Decouple iommu_domain_alloc() from bus ops
>   iommu/arm-smmu: Don't register fwnode for legacy binding
>   iommu: Retire bus ops
>   iommu: Clean up open-coded ownership checks

Applied, thanks.