mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
To: Will Deacon <will@kernel.org>,
	Robin Murphy <robin.murphy@arm.com>,
	"Joerg Roedel (AMD)" <joro@8bytes.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Rob Clark <robin.clark@oss.qualcomm.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-msm@vger.kernel.org,
	Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>,
	Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	Abel Vesa <abel.vesa@oss.qualcomm.com>,
	Val Packett <val@packett.cool>
Subject: [PATCH v5 03/21] arm64: dts: qcom: kodiak: Add GEM_NOC interconnect for adreno SMMU
Date: Tue, 01 Dec 2026 21:01:33 +0530	[thread overview]
Message-ID: <20261201-smmu_interconnect_addition-v5-3-4d22c4b85e30@oss.qualcomm.com> (raw)
In-Reply-To: <20261201-smmu_interconnect_addition-v5-0-4d22c4b85e30@oss.qualcomm.com>

On Kodiak platforms, the Adreno SMMU requires a bandwidth vote on
the GEM_NOC path (MASTER_GPU_TCU -> SLAVE_EBI1) before its registers
are accessible. Without this vote, the SMMU may become unreachable,
leading to intermittent probe failures and runtime issues.

Add the required interconnect to ensure reliable register access.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
Tested-by: Val Packett <val@packett.cool> # sm7325-motorola-dubai
---
 arch/arm64/boot/dts/qcom/kodiak.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/kodiak.dtsi b/arch/arm64/boot/dts/qcom/kodiak.dtsi
index 10e9a5279ed6..c142c7cb509f 100644
--- a/arch/arm64/boot/dts/qcom/kodiak.dtsi
+++ b/arch/arm64/boot/dts/qcom/kodiak.dtsi
@@ -3413,6 +3413,8 @@ adreno_smmu: iommu@3da0000 {
 
 			power-domains = <&gpucc GPU_CC_CX_GDSC>;
 			dma-coherent;
+			interconnects = <&gem_noc MASTER_GPU_TCU QCOM_ICC_TAG_ALWAYS
+					 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
 		};
 
 		gfx_0_tbu: tbu@3dd9000 {

-- 
2.34.1


  parent reply	other threads:[~2026-12-01 15:32 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 15:31 [PATCH v5 00/21] iommu/arm-smmu: Add interconnect bandwidth voting support Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 01/21] dt-bindings: iommu: arm,smmu: Document interconnects property Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 02/21] iommu/arm-smmu: Add interconnect bandwidth voting support Bibek Kumar Patro
2026-12-01 15:31 ` Bibek Kumar Patro [this message]
2026-12-01 15:31 ` [PATCH v5 04/21] arm64: dts: qcom: lemans: Add GEM_NOC interconnect for adreno SMMU Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 05/21] arm64: dts: qcom: monaco: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 06/21] arm64: dts: qcom: talos: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 07/21] arm64: dts: qcom: sm8150: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 08/21] arm64: dts: qcom: sm8250: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 09/21] arm64: dts: qcom: sm8350: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 10/21] arm64: dts: qcom: sc8180x: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 11/21] arm64: dts: qcom: sc8280xp: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 12/21] arm64: dts: qcom: sm8450: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 13/21] arm64: dts: qcom: sm8550: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 14/21] arm64: dts: qcom: sm8650: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 15/21] arm64: dts: qcom: hamoa: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 16/21] arm64: dts: qcom: kaanapali: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 17/21] arm64: dts: qcom: glymur: Add HSC_NOC " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 18/21] arm64: dts: qcom: milos: Add GEM_NOC " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 19/21] arm64: dts: qcom: hawi: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 20/21] arm64: dts: qcom: sar2130p: " Bibek Kumar Patro
2026-12-01 15:31 ` [PATCH v5 21/21] arm64: dts: qcom: eliza: " Bibek Kumar Patro
2026-12-01 15:46   ` Konrad Dybcio
2026-12-01 16:42   ` Konrad Dybcio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261201-smmu_interconnect_addition-v5-3-4d22c4b85e30@oss.qualcomm.com \
    --to=bibek.patro@oss.qualcomm.com \
    --cc=abel.vesa@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=robin.clark@oss.qualcomm.com \
    --cc=robin.murphy@arm.com \
    --cc=val@packett.cool \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®