2023-05-31 15:21:09

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH 0/2] SM6375 GPU SMMU

This series hooks up the GPU SMMU, as well as GPUCC as its direct
dependency.

The thing sadly can't seem to be able to do PPPT, not even on downstream..

Depends on (bindings and functionality-wise):
https://lore.kernel.org/linux-arm-msm/[email protected]/

Signed-off-by: Konrad Dybcio <[email protected]>
---
Konrad Dybcio (2):
dt-bindings: arm-smmu: Add SM6375 GPU SMMU
arm64: dts: qcom: sm6375: Add GPUCC and Adreno SMMU

.../devicetree/bindings/iommu/arm,smmu.yaml | 2 ++
arch/arm64/boot/dts/qcom/sm6375.dtsi | 37 ++++++++++++++++++++++
2 files changed, 39 insertions(+)
---
base-commit: d4cee89031c80066ec461bb77b5e13a4f37d5fd2
change-id: 20230531-topic-sm6375_gpusmmu-b9acb022b12c

Best regards,
--
Konrad Dybcio <[email protected]>



2023-05-31 15:23:50

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH 1/2] dt-bindings: arm-smmu: Add SM6375 GPU SMMU

SM6375 has a "Qualcomm SMMU V2" implementation for its GPU SMMU. It
does not however qualify for the qcom,adreno-smmu compatible, as it can
not do split pagetables. It consumes a single clock and a single genpd.

Signed-off-by: Konrad Dybcio <[email protected]>
---
Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
index ba677d401e24..aec9137713c9 100644
--- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
+++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml
@@ -29,6 +29,7 @@ properties:
- qcom,msm8996-smmu-v2
- qcom,msm8998-smmu-v2
- qcom,sdm630-smmu-v2
+ - qcom,sm6375-smmu-v2
- const: qcom,smmu-v2

- description: Qcom SoCs implementing "qcom,smmu-500" and "arm,mmu-500"
@@ -267,6 +268,7 @@ allOf:
enum:
- qcom,msm8998-smmu-v2
- qcom,sdm630-smmu-v2
+ - qcom,sm6375-smmu-v2
then:
anyOf:
- properties:

--
2.40.1


2023-06-01 17:09:09

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: arm-smmu: Add SM6375 GPU SMMU

On 31/05/2023 17:04, Konrad Dybcio wrote:
> SM6375 has a "Qualcomm SMMU V2" implementation for its GPU SMMU. It
> does not however qualify for the qcom,adreno-smmu compatible, as it can
> not do split pagetables. It consumes a single clock and a single genpd.
>
> Signed-off-by: Konrad Dybcio <[email protected]>
> ---
> Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 ++


Acked-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof


2023-06-05 16:50:49

by Will Deacon

[permalink] [raw]
Subject: Re: [PATCH 0/2] SM6375 GPU SMMU

On Wed, 31 May 2023 17:04:22 +0200, Konrad Dybcio wrote:
> This series hooks up the GPU SMMU, as well as GPUCC as its direct
> dependency.
>
> The thing sadly can't seem to be able to do PPPT, not even on downstream..
>
> Depends on (bindings and functionality-wise):
> https://lore.kernel.org/linux-arm-msm/[email protected]/
>
> [...]

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

[1/2] dt-bindings: arm-smmu: Add SM6375 GPU SMMU
https://git.kernel.org/will/c/44984d56e059

Cheers,
--
Will

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

2023-06-13 23:49:46

by Bjorn Andersson

[permalink] [raw]
Subject: Re: (subset) [PATCH 0/2] SM6375 GPU SMMU

On Wed, 31 May 2023 17:04:22 +0200, Konrad Dybcio wrote:
> This series hooks up the GPU SMMU, as well as GPUCC as its direct
> dependency.
>
> The thing sadly can't seem to be able to do PPPT, not even on downstream..
>
> Depends on (bindings and functionality-wise):
> https://lore.kernel.org/linux-arm-msm/[email protected]/
>
> [...]

Applied, thanks!

[2/2] arm64: dts: qcom: sm6375: Add GPUCC and Adreno SMMU
commit: 852865530a21d139196106543cdf3e76c389659b

Best regards,
--
Bjorn Andersson <[email protected]>