Skip to content

iommu: The early demise of bus ops

Robin Murphy linux-iommu lkml llvm oe-kbuild-all 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 25 repliesIn review
  2. v18 patches 23 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8iommu: Decouple iommu_present() from bus opsdrivers/iommu/iommu.c+16 -13 replies
2/8iommu: Validate that devices match domainsdrivers/iommu/iommu.c include/linux/iommu.h+10 -42 replies
3/8iommu: Add lockdep annotations for group list iteratorsdrivers/iommu/iommu.c+3 -03 replies
4/8iommu: Factor out some helpersdrivers/iommu/iommu.c+22 -176 replies
5/8iommu: Switch __iommu_domain_alloc() to device opsdrivers/iommu/iommu.c+39 -205 replies
6/8iommu/arm-smmu: Don't register fwnode for legacy bindingdrivers/iommu/arm/arm-smmu/arm-smmu.c+2 -11 reply
7/8iommu: Retire bus opsdrivers/iommu/iommu.c include/acpi/acpi_bus.h include/linux/device.h +2 more+20 -173 replies
8/8iommu: Clean up open-coded ownership checksdrivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c drivers/iommu/arm/arm-smmu/arm-smmu.c drivers/iommu/arm/arm-smmu/qcom_iommu.c +4 more+5 -421 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGreg Kroah-HartmanLu BaoluChristoph HellwigJason Gunthorpe
SeriesA-b
1/8R-b R-b
2/8R-b R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8A-b R-b R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/8] iommu: The early demise of bus ops

v1: https://lore.kernel.org/linux-iommu/[email protected]/

Hi all,

Here's v2, now rebased on today's iommu/core and with just a few minor changes. I've dropped "iommu: Pass device through ops->domain_alloc" for now since I have nothing ready to take advantage of it yet, and I've also realised that cleaning up set_pgtable_quirks will likely need yet another change there anyway.

Cheers,
Robin.

Robin Murphy (8):
iommu: Decouple iommu_present() from bus ops
iommu: Validate that devices match domains
iommu: Add lockdep annotations for group list iterators
iommu: Factor out some helpers
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     |  14 +-
 drivers/iommu/iommu.c                       | 151 +++++++++++++-------
 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, 113 insertions(+), 98 deletions(-)
Signature · 1 line
2.36.1.dirty