Skip to contentSkip to conversation

Add support from SM8450 IOMMU

PATCH Applied Vinod Koul 5 participants 7 messages Dec 1, 2021 – Dec 14, 2021

Subsystems (5)
lore
Share & tools
lore

Vinod Koul

author
#0 lore raw

cover Add support from SM8450 IOMMU

This adds the binding and support for IOMMU found in SM8450 SoC

Vinod Koul (2):
dt-bindings: arm-smmu: Add compatible for SM8450 SoC
iommu: arm-smmu-impl: Add SM8450 qcom iommu implementation

 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c            | 1 +
 2 files changed, 2 insertions(+)
Signature · 1 line
2.31.1
author
#1 lore raw

PATCH 1/2 dt-bindings: arm-smmu: Add compatible for SM8450 SoC

Add the SoC specific compatible for SM8450 implementing arm,mmu-500.

---
 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iommu/arm,smmu.yaml +1 -0
index f66a3effba73..8d15b281b0ac 100644
@@ -42,6 +42,7 @@ properties:
               - qcom,sm8150-smmu-500
               - qcom,sm8250-smmu-500
               - qcom,sm8350-smmu-500
+              - qcom,sm8450-smmu-500
           - const: arm,mmu-500
       - description: Qcom Adreno GPUs implementing "arm,smmu-v2"
         items:
Signature · 1 line
2.31.1
maintainer Acked-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] dt-bindings: arm-smmu: Add compatible for SM8450 SoC

Quoted 8 lines · Vinod Koul

Add the SoC specific compatible for SM8450 implementing arm,mmu-500.

---
 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
 1 file changed, 1 insertion(+)
author
#3 lore raw

PATCH 2/2 iommu: arm-smmu-impl: Add SM8450 qcom iommu implementation

In reply to Vinod Koul

Add SM8450 qcom iommu implementation to the table of qcom_smmu_impl_of_match table which brings in iommu support for SM8450 SoC

---
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
 1 file changed, 1 insertion(+)
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +1 -0
index ca736b065dd0..4aee83330629 100644
@@ -415,6 +415,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
 	{ .compatible = "qcom,sm8150-smmu-500" },
 	{ .compatible = "qcom,sm8250-smmu-500" },
 	{ .compatible = "qcom,sm8350-smmu-500" },
+	{ .compatible = "qcom,sm8450-smmu-500" },
 	{ }
 };
 
Signature · 1 line
2.31.1
Tested-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] iommu: arm-smmu-impl: Add SM8450 qcom iommu implementation

Quoted 5 lines · Vinod Koul

Add SM8450 qcom iommu implementation to the table of qcom_smmu_impl_of_match table which brings in iommu support for SM8450 SoC

Quoted 17 lines
---
  drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
  1 file changed, 1 insertion(+)
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +1 -0
index ca736b065dd0..4aee83330629 100644
@@ -415,6 +415,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
  	{ .compatible = "qcom,sm8150-smmu-500" },
  	{ .compatible = "qcom,sm8250-smmu-500" },
  	{ .compatible = "qcom,sm8350-smmu-500" },
+	{ .compatible = "qcom,sm8450-smmu-500" },
  	{ }
  };
 
Signature · 6 lines
With best wishes
Dmitry
_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Acked-by on v1 2/2
#5 lore raw

Re: [PATCH 2/2] iommu: arm-smmu-impl: Add SM8450 qcom iommu implementation

In reply to Vinod Koul
Quoted 7 lines · Vinod Koul

Add SM8450 qcom iommu implementation to the table of qcom_smmu_impl_of_match table which brings in iommu support for SM8450 SoC

---

With deep pain, as we've had to deal with this for a few generations now..

Konrad

maintainer Applied
#6 lore raw
In reply to Vinod Koul
Quoted 11 lines · Vinod Koul

This adds the binding and support for IOMMU found in SM8450 SoC

Vinod Koul (2):
dt-bindings: arm-smmu: Add compatible for SM8450 SoC
iommu: arm-smmu-impl: Add SM8450 qcom iommu implementation

Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +

 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c            | 1 +
 2 files changed, 2 insertions(+)

[...]

Applied to will (for-joerg/arm-smmu/updates), thanks!

[1/2] dt-bindings: arm-smmu: Add compatible for SM8450 SoC

      https://git.kernel.org/will/c/810d8cabaab5
[2/2] iommu: arm-smmu-impl: Add SM8450 qcom iommu implementation
      https://git.kernel.org/will/c/cd76990c94bb

Cheers,

Signature · 5 lines
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev