Skip to content

iommu/arm=smmu: Add driver for ARM SMMUv3 devices

Will Deacon linux-arm-kernel linux-iommu 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Documentation: dt-bindings: Add device-tree binding for ARM SMMUv3 IOMMUDocumentation/devicetree/bindings/iommu/arm,smmu-v3.txt+37 -00 replies
2/3iommu/arm-smmu: Add initial driver support for ARM SMMUv3 devicesMAINTAINERS drivers/iommu/Kconfig drivers/iommu/Makefile +1 more+2686 -10 replies
3/3drivers/vfio: Allow type-1 IOMMU instantiation on top of an ARM SMMUv3drivers/vfio/Kconfig+1 -11 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAlex Williamson
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] iommu/arm=smmu: Add driver for ARM SMMUv3 devices

Hi all,

This is version two of the patches I originally posted here:

http://www.spinics.net/lists/arm-kernel/msg416881.html

Changes since version one include:

- Lazy allocation of the level-2 stream table on device-add
- Limit stream table size based on SIDSIZE (maximum 21-bit atm)
- Fixed detection of linear stream table
- Fixed typo in RECINVSID CR2 field
- Added cmdline option for changing default bypass behaviour to fault
- Check IDR0.HYP before EL2 TLBI
- Reworked stream table so that each level-2 entry resolves 256 SIDs (i.e. a PCI bus)

All feedback welcome,

Will

--->8

Will Deacon (3):
Documentation: dt-bindings: Add device-tree binding for ARM SMMUv3
IOMMU
iommu/arm-smmu: Add initial driver support for ARM SMMUv3 devices drivers/vfio: Allow type-1 IOMMU instantiation on top of an ARM SMMUv3

 .../devicetree/bindings/iommu/arm,smmu-v3.txt      |   37 +
 MAINTAINERS                                        |    3 +-
 drivers/iommu/Kconfig                              |   13 +
 drivers/iommu/Makefile                             |    1 +
 drivers/iommu/arm-smmu-v3.c                        | 2670 ++++++++++++++++++++
 drivers/vfio/Kconfig                               |    2 +-
 6 files changed, 2724 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt
 create mode 100644 drivers/iommu/arm-smmu-v3.c
Signature · 1 line
2.1.4