Skip to content

iommu/arm-smmu: Updates for 3.17

Will Deacon linux-arm-kernel linux-iommu 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5iommu/arm-smmu: fix calculation of TCR.T0SZdrivers/iommu/arm-smmu.c+3 -10 replies
2/5iommu/arm-smmu: add support for PCI master devicesdrivers/iommu/arm-smmu.c+156 -861 reply
2/5iommu/arm-smmu: add support for PCI master devices+0 -01 reply
2/5iommu/arm-smmu: add support for PCI master devices+0 -00 replies
2/5iommu/arm-smmu: add support for PCI master devices+0 -02 replies
2/5iommu/arm-smmu: add support for PCI master devices+0 -00 replies
2/5iommu/arm-smmu: add support for PCI master devices+0 -00 replies
3/5iommu/arm-smmu: caps: add IOMMU_CAP_INTR_REMAP capabilitydrivers/iommu/arm-smmu.c+9 -50 replies
4/5iommu/arm-smmu: remove support for chained SMMUsDocumentation/devicetree/bindings/iommu/arm,smmu.txt drivers/iommu/arm-smmu.c+77 -1920 replies
5/5iommu/arm-smmu: prefer stage-1 mappings where we have a choicedrivers/iommu/arm-smmu.c+4 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] iommu/arm-smmu: Updates for 3.17

Hi all,

Here is the set of arm/smmu patches I currently have that I'd like to get in for 3.17 (pending review comments). The diffstat is bigger than usual, since I've got my hands on a PCI-capable platform (model) and subsequently started to get that up and running. I've also been playing with VFIO and KVM guest device assignment, which revealed some issues with stage-2 mappings.

I'll post further RFC patches relating to VFIO separately, as discussion is definitely needed there.

The other thing to note is that I plan to move to Thierry's generic IOMMU devicetree bindings as soon as they are merged:

http://lists.infradead.org/pipermail/linux-arm-kernel/2014-June/267061.html

That will break any users of the current binding, but I don't believe we actually have any at the moment (there are certainly none in mainline). The removal of chained SMMU support in this series is a prerequisite for that conversion.

All feedback welcome,

Will

Will Deacon (5):
iommu/arm-smmu: fix calculation of TCR.T0SZ iommu/arm-smmu: add support for PCI master devices iommu/arm-smmu: caps: add IOMMU_CAP_INTR_REMAP capability iommu/arm-smmu: remove support for chained SMMUs iommu/arm-smmu: prefer stage-1 mappings where we have a choice

 .../devicetree/bindings/iommu/arm,smmu.txt         |   6 -
 drivers/iommu/arm-smmu.c                           | 431 ++++++++++-----------
 2 files changed, 199 insertions(+), 238 deletions(-)
Signature · 1 line
2.0.0