Skip to content

iommu/arm-smmu: fixes for 3.14

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 pud/pmd entry fill sequencedrivers/iommu/arm-smmu.c+10 -40 replies
2/5iommu/arm-smmu: really fix page table lockingdrivers/iommu/arm-smmu.c+10 -100 replies
3/5iommu/arm-smmu: fix table flushing during initial allocationsdrivers/iommu/arm-smmu.c+27 -240 replies
4/5iommu/arm-smmu: set CBARn.BPSHCFG to NSH for s1-s2-bypass contextsdrivers/iommu/arm-smmu.c+12 -40 replies
5/5iommu/arm-smmu: fix compilation issue when !CONFIG_ARM_AMBAdrivers/iommu/arm-smmu.c+2 -01 reply
5/5iommu/arm-smmu: fix compilation issue when !CONFIG_ARM_AMBA+0 -01 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: fixes for 3.14

Hi all,

This is the set of fixes I plan to send to Joerg for 3.14. There a quite a few scary looking commits here, for a number of reasons:

- Andreas Herrmann took the driver for a run with a real SATA controller, which caused the new mutex-based locking to explode since we require mappings in atomic context

- Yifan fixed an issue with the page table creation, which then caused breakages with the way in which we flush descriptors out to the table walker

- I ran the driver on a system where the SMMU is hooked into a coherent interconnect for table walks, and noticed a shareability mismatch between the CPU and the SMMU

These issues are all fixed here and have been tests on both arm and arm64 based systems.

All feedback welcome,

Will

Will Deacon (4):
iommu/arm-smmu: really fix page table locking iommu/arm-smmu: fix table flushing during initial allocations iommu/arm-smmu: set CBARn.BPSHCFG to NSH for s1-s2-bypass contexts iommu/arm-smmu: fix compilation issue when !CONFIG_ARM_AMBA

Yifan Zhang (1):
iommu/arm-smmu: fix pud/pmd entry fill sequence

 drivers/iommu/arm-smmu.c | 103 ++++++++++++++++++++++++++++-------------------
 1 file changed, 61 insertions(+), 42 deletions(-)
Signature · 1 line
1.8.2.2