Skip to content

Sort out SMMUv3 ATC invalidation and locking

Will Deacon linux-iommu stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 23 repliesIn review
  2. v14 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8iommu/arm-smmu-v3: Document ordering guarantees of command insertiondrivers/iommu/arm-smmu-v3.c+16 -00 replies
2/8iommu/arm-smmu-v3: Disable detection of ATS and PRIdrivers/iommu/arm-smmu-v3.c+2 -01 reply
3/8iommu/arm-smmu-v3: Remove boolean bitfield for 'ats_enabled' flagdrivers/iommu/arm-smmu-v3.c+1 -10 replies
4/8iommu/arm-smmu-v3: Don't issue CMD_SYNC for zero-length invalidationsdrivers/iommu/arm-smmu-v3.c+3 -00 replies
5/8iommu/arm-smmu-v3: Rework enabling/disabling of ATS for PCI mastersdrivers/iommu/arm-smmu-v3.c+28 -191 reply
6/8iommu/arm-smmu-v3: Fix ATC invalidation ordering wrt main TLBsdrivers/iommu/arm-smmu-v3.c+9 -71 reply
7/8iommu/arm-smmu-v3: Avoid locking on invalidation path when not using ATSdrivers/iommu/arm-smmu-v3.c+32 -51 reply
8/8Revert "iommu/arm-smmu-v3: Disable detection of ATS and PRI"drivers/iommu/arm-smmu-v3.c+0 -20 replies

Reviews trailers per patch

4 of 8 patches have a Reviewed-by or Acked-by.

PatchRobin Murphy
1/8
2/8A-b
3/8
4/8
5/8R-b
6/8R-b
7/8A-b
8/8

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/8] Sort out SMMUv3 ATC invalidation and locking

Hi again,

This is version two of the patches I posted yesterday:

v1: https://lkml.kernel.org/r/[email protected]

Changes since then include:

* Fix 'ats_enabled' checking when enabling ATS
* Remove redundant 'dev_is_pci()' calls
* Remove bool bitfield
* Add patch temporarily disabling ATS detection for -stable
* Issue ATC invalidation even when non-leaf
* Elide invalidation/SYNC for zero-sized address ranges
* Shuffle the patches round a bit

Thanks,

Will

Cc Zhen Lei <[email protected]>
Cc Jean-Philippe Brucker <[email protected]>
Cc John Garry <[email protected]>
Cc Robin Murphy <[email protected]>

--->8

Will Deacon (8):
iommu/arm-smmu-v3: Document ordering guarantees of command insertion iommu/arm-smmu-v3: Disable detection of ATS and PRI iommu/arm-smmu-v3: Remove boolean bitfield for 'ats_enabled' flag iommu/arm-smmu-v3: Don't issue CMD_SYNC for zero-length invalidations iommu/arm-smmu-v3: Rework enabling/disabling of ATS for PCI masters iommu/arm-smmu-v3: Fix ATC invalidation ordering wrt main TLBs iommu/arm-smmu-v3: Avoid locking on invalidation path when not using
ATS
Revert "iommu/arm-smmu-v3: Disable detection of ATS and PRI"

 drivers/iommu/arm-smmu-v3.c | 117 ++++++++++++++++++++++++++++++++------------
 1 file changed, 87 insertions(+), 30 deletions(-)
Signature · 6 lines
2.11.0

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu