Skip to content

arm-smmu: Implementation and context format differentiation

Robin Murphy linux-arm-kernel linux-iommu 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7iommu/arm-smmu: Differentiate specific implementationsdrivers/iommu/arm-smmu.c+26 -71 reply
2/7iommu/arm-smmu: Convert ThunderX workaround to new methoddrivers/iommu/arm-smmu.c+14 -131 reply
3/7iommu/arm-smmu: Work around MMU-500 prefetch errataDocumentation/arm64/silicon-errata.txt drivers/iommu/arm-smmu.c+16 -12 replies
4/7io-64-nonatomic: Add relaxed accessor variantsinclude/linux/io-64-nonatomic-hi-lo.h include/linux/io-64-nonatomic-lo-hi.h+50 -03 replies
4/7io-64-nonatomic: Add relaxed accessor variants+0 -02 replies
4/7io-64-nonatomic: Add relaxed accessor variants+0 -02 replies
5/7iommu/arm-smmu: Tidy up 64-bit/atomic I/O accessesdrivers/iommu/arm-smmu.c+19 -290 replies
6/7iommu/arm-smmu: Decouple context format from kernel configdrivers/iommu/arm-smmu.c+80 -182 replies
6/7iommu/arm-smmu: Decouple context format from kernel config+0 -01 reply
6/7iommu/arm-smmu: Decouple context format from kernel config+0 -01 reply
6/7iommu/arm-smmu: Decouple context format from kernel configdrivers/iommu/arm-smmu.c+0 -00 replies
7/7iommu/arm-smmu: Support SMMUv1 64KB supplementdrivers/iommu/arm-smmu.c+14 -80 replies

Reviews trailers per patch

5 of 12 patches have a Reviewed-by or Acked-by.

PatchTirumalesh ChalamarlaArnd Bergmann
1/7A-b
2/7A-b
3/7
4/7A-b A-b
4/7A-b A-b
4/7A-b A-b
5/7
6/7
6/7
6/7
6/7
7/7

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

Read the v1 thread

Cover letter [PATCH 0/7] arm-smmu: Implementation and context format differentiation

Hi all,

This is almost 3 separate sub-series, but there's enough interdependency and horrid merge conflicts that I've been keeping it all together.

- Patches 1-3 rationalise implementation-specific details and errata, in order to start shovelling in yet more wonderful workarounds.
- Patches 3-6 do a broadly similar thing for context formats, breaking the effective hard-coding to allow it to become a runtime choice. (With the bonus of unblocking short-descriptor support, once I find and revive the hac^Wpatches I was using for that.)
- Patch 7 then takes advantage of the previous changes to support the hilarious raison d'etre of MMU-401, in all its glory.

This is all based on top of the ThunderX patches in Will's iommu/devel branch. It also conflicts somewhat with my per-domain page size series; since this is probably less contentious, I expect I'll optimistically rebase that on top of this one before I post it again.

Robin.
---

Robin Murphy (7):
iommu/arm-smmu: Differentiate specific implementations iommu/arm-smmu: Convert ThunderX workaround to new method iommu/arm-smmu: Work around MMU-500 prefetch errata
io-64-nonatomic: Add relaxed accessor variants iommu/arm-smmu: Tidy up 64-bit/atomic I/O accesses iommu/arm-smmu: Decouple context format from kernel config iommu/arm-smmu: Support SMMUv1 64KB supplement

 Documentation/arm64/silicon-errata.txt |   1 +
 drivers/iommu/arm-smmu.c               | 238 +++++++++++++++++++++++----------
 include/linux/io-64-nonatomic-hi-lo.h  |  25 ++++
 include/linux/io-64-nonatomic-lo-hi.h  |  25 ++++
 4 files changed, 216 insertions(+), 73 deletions(-)
Signature · 1 line
2.7.3.dirty