Skip to content

iommu: Permit modular builds of ARM SMMU[v3] drivers

Will Deacon linux-iommu lkml 4 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest16 patches 9 repliesApplied
  2. v314 patches 4 repliesSuperseded
  3. v29 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches35 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/16drivers/iommu: Export core IOMMU API symbols to permit modular driversdrivers/iommu/iommu-sysfs.c drivers/iommu/iommu.c+13 -00 replies
2/16iommu/of: Request ACS from the PCI core when configuring IOMMU linkagedrivers/iommu/of_iommu.c+1 -00 replies
3/16PCI/ATS: Restore EXPORT_SYMBOL_GPL() for pci_{enable,disable}_ats()drivers/pci/ats.c+2 -02 replies
4/16PCI: Export pci_ats_disabled() as a GPL symbol to modulesdrivers/pci/pci.c+1 -00 replies
5/16drivers/iommu: Take a ref to the IOMMU driver prior to ->add_device()drivers/iommu/iommu.c include/linux/iommu.h+20 -33 replies
6/16iommu/of: Take a ref to the IOMMU driver during ->of_xlate()drivers/iommu/of_iommu.c+12 -60 replies
7/16drivers/iommu: Allow IOMMU bus ops to be unregistereddrivers/iommu/iommu.c+5 -00 replies
8/16Revert "iommu/arm-smmu: Make arm-smmu-v3 explicitly non-modular"drivers/iommu/arm-smmu-v3.c+16 -90 replies
9/16Revert "iommu/arm-smmu: Make arm-smmu explicitly non-modular"drivers/iommu/arm-smmu.c+19 -130 replies
10/16iommu/arm-smmu: Prevent forced unbinding of Arm SMMU driversdrivers/iommu/arm-smmu-v3.c drivers/iommu/arm-smmu.c+7 -50 replies
11/16iommu/arm-smmu-v3: Unregister IOMMU and bus ops on device removaldrivers/iommu/arm-smmu-v3.c+43 -210 replies
12/16iommu/arm-smmu: Support SMMU module probing from the IORTdrivers/acpi/arm64/iort.c drivers/iommu/arm-smmu-v3.c drivers/iommu/arm-smmu.c+4 -20 replies
13/16iommu/arm-smmu-v3: Allow building as a moduledrivers/iommu/Kconfig drivers/iommu/arm-smmu-v3.c+2 -30 replies
14/16iommu/arm-smmu: Unregister IOMMU and bus ops on device removaldrivers/iommu/arm-smmu.c+40 -100 replies
15/16iommu/arm-smmu: Allow building as a moduledrivers/iommu/Kconfig drivers/iommu/Makefile drivers/iommu/arm-smmu.c+47 -220 replies
16/16iommu/arm-smmu: Update my email address in MODULE_AUTHOR()drivers/iommu/arm-smmu-v3.c drivers/iommu/arm-smmu.c+2 -20 replies

Reviews trailers per patch

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

PatchBjorn HelgaasRobin MurphyLorenzo PieralisiJohn GarryGreg Kroah-Hartman
SeriesT-b R-b
1/16
2/16
3/16A-b
4/16A-b
5/16R-b
6/16
7/16
8/16
9/16
10/16
11/16
12/16R-b A-b T-b
13/16
14/16
15/16
16/16

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

Read the v4 thread

Cover letter [PATCH v4 00/16] iommu: Permit modular builds of ARM SMMU[v3] drivers

Hi all,

This is version four of the patches I previously posted here:

v1: https://lore.kernel.org/lkml/[email protected]/
v2: https://lore.kernel.org/lkml/[email protected]
v3: https://lore.kernel.org/lkml/[email protected]

Changes since v3 include:

* Based on v5.5-rc1
* ACPI/IORT support (thanks to Ard)
* Export pci_{enable,disable}_ats() (thanks to Greg)
* Added review tags

I tested this on AMD Seattle by loading arm-smmu-mod.ko from the initrd.

Cheers,

Will

Cc Jean-Philippe Brucker <[email protected]>
Cc Jordan Crouse <[email protected]>
Cc John Garry <[email protected]>
Cc Bjorn Helgaas <[email protected]>
Cc Saravana Kannan <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc "Isaac J. Manjarres" <[email protected]>
Cc Robin Murphy <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
Cc Joerg Roedel <[email protected]>
Cc Ard Biesheuvel <[email protected]>

--->8

Ard Biesheuvel (1):
iommu/arm-smmu: Support SMMU module probing from the IORT

Greg Kroah-Hartman (1):
PCI/ATS: Restore EXPORT_SYMBOL_GPL() for pci_{enable,disable}_ats()

Will Deacon (14):
drivers/iommu: Export core IOMMU API symbols to permit modular drivers iommu/of: Request ACS from the PCI core when configuring IOMMU linkage
PCI: Export pci_ats_disabled() as a GPL symbol to modules drivers/iommu: Take a ref to the IOMMU driver prior to ->add_device() iommu/of: Take a ref to the IOMMU driver during ->of_xlate() drivers/iommu: Allow IOMMU bus ops to be unregistered Revert "iommu/arm-smmu: Make arm-smmu-v3 explicitly non-modular" Revert "iommu/arm-smmu: Make arm-smmu explicitly non-modular" iommu/arm-smmu: Prevent forced unbinding of Arm SMMU drivers iommu/arm-smmu-v3: Unregister IOMMU and bus ops on device removal iommu/arm-smmu-v3: Allow building as a module iommu/arm-smmu: Unregister IOMMU and bus ops on device removal iommu/arm-smmu: Allow building as a module
iommu/arm-smmu: Update my email address in MODULE_AUTHOR()

 drivers/acpi/arm64/iort.c   |   4 +-
 drivers/iommu/Kconfig       |  16 ++++-
 drivers/iommu/Makefile      |   3 +-
 drivers/iommu/arm-smmu-v3.c |  94 +++++++++++++++++---------
 drivers/iommu/arm-smmu.c    | 128 +++++++++++++++++++++++++-----------
 drivers/iommu/iommu-sysfs.c |   5 ++
 drivers/iommu/iommu.c       |  32 ++++++++-
 drivers/iommu/of_iommu.c    |  19 ++++--
 drivers/pci/ats.c           |   2 +
 drivers/pci/pci.c           |   1 +
 include/linux/iommu.h       |   4 +-
 11 files changed, 223 insertions(+), 85 deletions(-)
Signature · 1 line
2.24.1.735.g03f4e72817-goog