[PATCH v4 0/5] arm64: dts: qcom: sa8775p: add more IOMMUs

Bartosz Golaszewski posted 5 patches 2 years, 8 months ago
.../devicetree/bindings/iommu/arm,smmu.yaml   |   6 +-
arch/arm64/boot/dts/qcom/sa8775p.dtsi         | 125 ++++++++++++++++++
arch/arm64/configs/defconfig                  |   1 +
3 files changed, 130 insertions(+), 2 deletions(-)
[PATCH v4 0/5] arm64: dts: qcom: sa8775p: add more IOMMUs
Posted by Bartosz Golaszewski 2 years, 8 months ago
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Add the GPU and PCIe IOMMUs for sa8775p platforms as well as the required
GPU clock controller driver.

NOTE: I didn't pick up Krzysztof's tag for patch 4/5 as the patch changed
significantly.

v3 -> v4:
- fix the adreno smmu compatibles
- drop patches that are already in next

v2 -> v3:
- select QCOM_GDSC in Kconfig for the GPUCC module
- the GPU SMMU is actually an adreno SMMU so describe it as such and
  fix the DT
- fix the mapped memory size for the PCIe SMMU

v1 -> v2:
- remove unused include in the GPUCC driver
- remove unused clock from the GPUCC driver and make it compatible
  with the generic QCom GPUCC bindings
- put the new defconfig option in the right place (as per savedefconfig)
  and make the GPUCC driver a module rather than built-in
- describe the smmu clocks for sa8775p in dt-bindings

Bartosz Golaszewski (5):
  arm64: defconfig: enable the SA8775P GPUCC driver
  arm64: dts: qcom: sa8775p: add the pcie smmu node
  arm64: dts: qcom: sa8775p: add the GPU clock controller node
  dt-bindings: iommu: arm,smmu: enable clocks for sa8775p Adreno SMMU
  arm64: dts: qcom: sa8775p: add the GPU IOMMU node

 .../devicetree/bindings/iommu/arm,smmu.yaml   |   6 +-
 arch/arm64/boot/dts/qcom/sa8775p.dtsi         | 125 ++++++++++++++++++
 arch/arm64/configs/defconfig                  |   1 +
 3 files changed, 130 insertions(+), 2 deletions(-)

-- 
2.37.2
Re: [PATCH v4 0/5] arm64: dts: qcom: sa8775p: add more IOMMUs
Posted by Will Deacon 2 years, 6 months ago
On Mon, 17 Apr 2023 14:58:39 +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> Add the GPU and PCIe IOMMUs for sa8775p platforms as well as the required
> GPU clock controller driver.
> 
> NOTE: I didn't pick up Krzysztof's tag for patch 4/5 as the patch changed
> significantly.
> 
> [...]

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

[4/5] dt-bindings: iommu: arm,smmu: enable clocks for sa8775p Adreno SMMU
      https://git.kernel.org/will/c/387a80a74125

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Re: (subset) [PATCH v4 0/5] arm64: dts: qcom: sa8775p: add more IOMMUs
Posted by Bjorn Andersson 2 years, 7 months ago
On Mon, 17 Apr 2023 14:58:39 +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> Add the GPU and PCIe IOMMUs for sa8775p platforms as well as the required
> GPU clock controller driver.
> 
> NOTE: I didn't pick up Krzysztof's tag for patch 4/5 as the patch changed
> significantly.
> 
> [...]

Applied, thanks!

[1/5] arm64: defconfig: enable the SA8775P GPUCC driver
      commit: 8125a56125114d91843918cc6ef95367c4c39fc7

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>