Skip to content

iommu/arm-smmu: Allow client devices to select identity mapping

Sai Prakash Ranjan linux-arm-kernel linux-arm-msm linux-iommu lkml 4 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 Latest6 patches 7 repliesApplied
  2. v36 patches 5 repliesSuperseded
  3. v26 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches13 repliesSuperseded

Changes in v4 from the cover letter

* Updated commit msg for mss pil requesting direct mapping

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/6iommu: arm-smmu-impl: Convert to a generic reset implementationdrivers/iommu/arm-smmu-impl.c drivers/iommu/arm-smmu-qcom.c+18 -60 replies
2/6iommu/arm-smmu: Implement iommu_ops->def_domain_type call-backdrivers/iommu/arm-smmu.c drivers/iommu/arm-smmu.h+13 -00 replies
3/6iommu/arm-smmu: Allow client devices to select direct mappingdrivers/iommu/arm-smmu-qcom.c+19 -00 replies
4/6iommu/arm-smmu-qcom: Request direct mapping for modem devicedrivers/iommu/arm-smmu-qcom.c+2 -03 replies
5/6dt-bindings: remoteproc: qcom: Add iommus propertyDocumentation/devicetree/bindings/remoteproc/qcom,q6v5.txt+3 -00 replies
6/6arm64: dts: qcom: sdm845-cheza: Add iommus propertyarch/arm64/boot/dts/qcom/sdm845-cheza.dtsi+5 -00 replies

Reviews trailers per patch

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

PatchBjorn AnderssonStephen BoydRobin MurphyRob Herring
1/6R-b R-b R-b
2/6R-b
3/6R-b
4/6
5/6A-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCHv4 0/6] iommu/arm-smmu: Allow client devices to select identity mapping

This series allows DRM, Modem devices to set a default identity mapping in qcom smmu implementation.

Patch 1 is cleanup to support other SoCs to call into QCOM specific implementation.
Patch 2 sets the default identity domain for DRM devices. Patch 3 implements def_domain_type callback for arm-smmu. Patch 4 sets the default identity domain for modem device. Patch 5-6 adds the iommus property for mss pil.

This is based on Joerg's tree:
- https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git/log/?h=iommu-probe-device-v2

v4:
* Updated commit msg for mss pil requesting direct mapping

v3:
* Use arm_smmu_master_cfg to get impl instead of long way as per Robin.
* Use def_domain_type name for the callback in arm_smmu_imp as per Robin

Jordan Crouse (1):
iommu/arm-smmu: Allow client devices to select direct mapping

Sai Prakash Ranjan (2):
iommu: arm-smmu-impl: Convert to a generic reset implementation iommu/arm-smmu: Implement iommu_ops->def_domain_type call-back

Sibi Sankar (3):
iommu/arm-smmu-qcom: Request direct mapping for modem device
dt-bindings: remoteproc: qcom: Add iommus property
arm64: dts: qcom: sdm845-cheza: Add iommus property

 .../bindings/remoteproc/qcom,q6v5.txt         |  3 ++
 arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi    |  5 +++
 drivers/iommu/arm-smmu-impl.c                 |  8 ++--
 drivers/iommu/arm-smmu-qcom.c                 | 37 +++++++++++++++++--
 drivers/iommu/arm-smmu.c                      | 12 ++++++
 drivers/iommu/arm-smmu.h                      |  1 +
 6 files changed, 60 insertions(+), 6 deletions(-)
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation