Skip to content

Add system mmu support for Armada-806

Tomasz Nowicki linux-arm-kernel linux-devicetree linux-iommu lkml 2 versions – Applied

Status from this message: Applied to will (for-joerg/arm-smmu/updates), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 19 repliesApplied
  2. v34 patches 12 repliesSuperseded

Changes in v4 from the cover letter

- call cfg_probe() impl hook a bit earlier which simplifies errata handling
- use hi_lo_readq_relaxed() and hi_lo_writeq_relaxed() for register accessors
- keep SMMU status disabled by default and enable where possible (DTS changes)
- commit logs improvements and other minor fixes

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4iommu/arm-smmu: Call configuration impl hook before consuming featuresdrivers/iommu/arm-smmu.c+7 -41 reply
2/4iommu/arm-smmu: Workaround for Marvell Armada-AP806 SoC erratum #582743Documentation/arm64/silicon-errata.rst drivers/iommu/arm-smmu-impl.c+48 -02 replies
3/4dt-bindings: arm-smmu: add compatible string for Marvell Armada-AP806 SMMU-500Documentation/devicetree/bindings/iommu/arm,smmu.yaml+4 -02 replies
4/4arm64: dts: marvell: add SMMU supportarch/arm64/boot/dts/marvell/armada-7040.dtsi arch/arm64/boot/dts/marvell/armada-8040.dtsi arch/arm64/boot/dts/marvell/armada-ap80x.dtsi+86 -01 reply

Reviews trailers per patch

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

PatchRob HerringRobin Murphy
1/4R-b
2/4R-b
3/4R-b R-b
4/4

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

Read the v4 thread

Cover letter [PATCH v4 0/4] Add system mmu support for Armada-806

The series is meant to support SMMU for AP806 and a workaround for accessing ARM SMMU 64bit registers is the gist of it.

For the record, AP-806 can't access SMMU registers with 64bit width. This patches split the readq/writeq into two 32bit accesses instead and update DT bindings.

The series was successfully tested on a vanilla v5.8-rc3 kernel and Intel e1000e PCIe NIC. The same for platform devices like SATA and USB.

For reference, previous versions are listed below:
V1: https://lkml.org/lkml/2018/10/15/373
V2: https://lkml.org/lkml/2019/7/11/426
V3: https://lkml.org/lkml/2020/7/2/1114

v3 -> v4
- call cfg_probe() impl hook a bit earlier which simplifies errata handling
- use hi_lo_readq_relaxed() and hi_lo_writeq_relaxed() for register accessors
- keep SMMU status disabled by default and enable where possible (DTS changes)
- commit logs improvements and other minor fixes

Hanna Hawa (1):
iommu/arm-smmu: Workaround for Marvell Armada-AP806 SoC erratum

    #582743

Marcin Wojtas (1):
arm64: dts: marvell: add SMMU support

Tomasz Nowicki (2):
iommu/arm-smmu: Call configuration impl hook before consuming features
dt-bindings: arm-smmu: add compatible string for Marvell Armada-AP806

    SMMU-500
 Documentation/arm64/silicon-errata.rst        |  3 ++
 .../devicetree/bindings/iommu/arm,smmu.yaml   |  4 ++
 arch/arm64/boot/dts/marvell/armada-7040.dtsi  | 28 ++++++++++++
 arch/arm64/boot/dts/marvell/armada-8040.dtsi  | 40 +++++++++++++++++
 arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 18 ++++++++
 drivers/iommu/arm-smmu-impl.c                 | 45 +++++++++++++++++++
 drivers/iommu/arm-smmu.c                      | 11 +++--
 7 files changed, 145 insertions(+), 4 deletions(-)
Signature · 1 line
2.17.1