Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform
@ 2026-11-18  7:01 Jie Gan
  2026-11-18  7:01 ` [PATCH 1/4] dt-bindings: arm: coresight-tnoc: Allow arm,primecell-periphid Jie Gan
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Jie Gan @ 2026-11-18  7:01 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Krzysztof Kozlowski,
	Conor Dooley, Jingyi Wang, Suzuki K Poulose, Rob Herring, Leo Yan,
	Tingwei Zhang, Mike Leach, James Clark, Yuanfang Zhang
  Cc: Konrad Dybcio, linux-arm-msm, devicetree, coresight,
	linux-arm-kernel, Jie Gan

The traceNoC (Trace Network-On-Chip) node on kaanapali, sm8750 and glymur
is described with the "qcom,coresight-tnoc", "arm,primecell" compatible,
so the device is created on the AMBA bus. To bind an AMBA device, the bus
reads the peripheral and component ID registers (PID/CID) at the top of
the device's register block and matches them against the primecell ID.
On these platforms the Component ID returned by the hardware is
0x00000000 instead of a valid AMBA Component ID, so the AMBA probe fails
and the traceNoC is left stuck in deferred probe indefinitely, leaving
its trace path unavailable.

This series fixes the issue in the simplest way: keep the existing
"arm,primecell" compatible and add the "arm,primecell-periphid" property
to the traceNoC nodes. The AMBA bus then uses the peripheral ID given in
the device tree instead of reading it from the device, which lets the
traceNoC probe on this hardware. No binding or driver change is needed.

History of this issue:

This is an alternative to the series that fixes the same problem by
moving the traceNoC onto the platform bus instead of AMBA.

Latest revision of that series:
https://lore.kernel.org/all/20261110-fix-trace-noc-probe-issue-v7-0-2f06905c77fe@oss.qualcomm.com/

That approach requires a binding change and a driver change in addition
to the DT changes. This series instead keeps the hardware described as an
AMBA device and works around the invalid Component ID with the existing
"arm,primecell-periphid" property, so only the device tree is touched.

Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
---
Jie Gan (4):
      dt-bindings: arm: coresight-tnoc: Allow arm,primecell-periphid
      arm64: dts: qcom: kaanapali: add periphid for traceNoC
      arm64: dts: qcom: sm8750: add periphid for traceNoC
      arm64: dts: qcom: glymur: use Aggregator TNOC compatible

 Documentation/devicetree/bindings/arm/qcom,coresight-tnoc.yaml | 5 ++++-
 arch/arm64/boot/dts/qcom/glymur.dtsi                           | 8 +++++---
 arch/arm64/boot/dts/qcom/kaanapali.dtsi                        | 2 ++
 arch/arm64/boot/dts/qcom/sm8750.dtsi                           | 2 ++
 4 files changed, 13 insertions(+), 4 deletions(-)
---
base-commit: 7cfbf79c66c63e807ea452abf0546e6f6d6833a6
change-id: 20261118-fix-tracenoc-probe-bf8025cad2ca

Best regards,
-- 
Jie Gan <jie.gan@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 1/4] dt-bindings: arm: coresight-tnoc: Allow arm,primecell-periphid
  2026-11-18  7:01 [PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform Jie Gan
@ 2026-11-18  7:01 ` Jie Gan
  2026-11-18  7:01 ` [PATCH 2/4] arm64: dts: qcom: kaanapali: add periphid for traceNoC Jie Gan
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Jie Gan @ 2026-11-18  7:01 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Krzysztof Kozlowski,
	Conor Dooley, Jingyi Wang, Suzuki K Poulose, Rob Herring, Leo Yan,
	Tingwei Zhang, Mike Leach, James Clark, Yuanfang Zhang
  Cc: Konrad Dybcio, linux-arm-msm, devicetree, coresight,
	linux-arm-kernel, Jie Gan

Reference /schemas/arm/primecell.yaml and switch to
unevaluatedProperties so that the TNOC device accepts the common primecell
properties, including "arm,primecell-periphid", as the other CoreSight
devices do.

Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/arm/qcom,coresight-tnoc.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tnoc.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-tnoc.yaml
index 37147124449e..99ff8d30f34b 100644
--- a/Documentation/devicetree/bindings/arm/qcom,coresight-tnoc.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tnoc.yaml
@@ -78,7 +78,10 @@ required:
   - in-ports
   - out-ports
 
-additionalProperties: false
+allOf:
+  - $ref: /schemas/arm/primecell.yaml#
+
+unevaluatedProperties: false
 
 examples:
   - |

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/4] arm64: dts: qcom: kaanapali: add periphid for traceNoC
  2026-11-18  7:01 [PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform Jie Gan
  2026-11-18  7:01 ` [PATCH 1/4] dt-bindings: arm: coresight-tnoc: Allow arm,primecell-periphid Jie Gan
@ 2026-11-18  7:01 ` Jie Gan
  2026-11-20  8:39   ` Abel Vesa
  2026-11-25 10:09   ` Konrad Dybcio
  2026-11-18  7:01 ` [PATCH 3/4] arm64: dts: qcom: sm8750: " Jie Gan
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 11+ messages in thread
From: Jie Gan @ 2026-11-18  7:01 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Krzysztof Kozlowski,
	Conor Dooley, Jingyi Wang, Suzuki K Poulose, Rob Herring, Leo Yan,
	Tingwei Zhang, Mike Leach, James Clark, Yuanfang Zhang
  Cc: Konrad Dybcio, linux-arm-msm, devicetree, coresight,
	linux-arm-kernel, Jie Gan

The traceNoC node uses the "qcom,coresight-tnoc", "arm,primecell"
compatible, which places the device on the AMBA bus. To bind an AMBA
device, the bus reads the peripheral and component ID registers (PID/CID)
at the top of the device's register block and matches them against the
primecell ID. The Component ID returned by the hardware is 0x00000000
instead of a valid AMBA Component ID, so the AMBA probe fails and the
device is left stuck in deferred probe indefinitely.

Add the "arm,primecell-periphid" property so the AMBA bus uses the
specified peripheral ID instead of reading it from the device, which
allows the traceNoC to probe on this hardware.

Fixes: f73959d86c15 ("arm64: dts: qcom: kaanapali: add coresight nodes")
Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/kaanapali.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/kaanapali.dtsi b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
index 132577d540bf..8afa9fd253af 100644
--- a/arch/arm64/boot/dts/qcom/kaanapali.dtsi
+++ b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
@@ -5438,6 +5438,8 @@ tn@111b8000 {
 			clocks = <&aoss_qmp>;
 			clock-names = "apb_pclk";
 
+			arm,primecell-periphid = <0x000f0c00>;
+
 			in-ports {
 				#address-cells = <1>;
 				#size-cells = <0>;

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 3/4] arm64: dts: qcom: sm8750: add periphid for traceNoC
  2026-11-18  7:01 [PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform Jie Gan
  2026-11-18  7:01 ` [PATCH 1/4] dt-bindings: arm: coresight-tnoc: Allow arm,primecell-periphid Jie Gan
  2026-11-18  7:01 ` [PATCH 2/4] arm64: dts: qcom: kaanapali: add periphid for traceNoC Jie Gan
@ 2026-11-18  7:01 ` Jie Gan
  2026-11-20  8:39   ` Abel Vesa
  2026-11-25 10:09   ` Konrad Dybcio
  2026-11-18  7:01 ` [PATCH 4/4] arm64: dts: qcom: glymur: use Aggregator TNOC compatible Jie Gan
  2026-11-18  9:44 ` [PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform Suzuki K Poulose
  4 siblings, 2 replies; 11+ messages in thread
From: Jie Gan @ 2026-11-18  7:01 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Krzysztof Kozlowski,
	Conor Dooley, Jingyi Wang, Suzuki K Poulose, Rob Herring, Leo Yan,
	Tingwei Zhang, Mike Leach, James Clark, Yuanfang Zhang
  Cc: Konrad Dybcio, linux-arm-msm, devicetree, coresight,
	linux-arm-kernel, Jie Gan

The traceNoC node uses the "qcom,coresight-tnoc", "arm,primecell"
compatible, which places the device on the AMBA bus. To bind an AMBA
device, the bus reads the peripheral and component ID registers (PID/CID)
at the top of the device's register block and matches them against the
primecell ID. The Component ID returned by the hardware is 0x00000000
instead of a valid AMBA Component ID, so the AMBA probe fails and the
device is left stuck in deferred probe indefinitely.

Add the "arm,primecell-periphid" property so the AMBA bus uses the
specified peripheral ID instead of reading it from the device, which
allows the traceNoC to probe on this hardware.

Fixes: ebd1eb365cae ("arm64: qcom: dts: sm8750: add coresight nodes")
Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/sm8750.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi
index d8a853c31eeb..a9507ec56b61 100644
--- a/arch/arm64/boot/dts/qcom/sm8750.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi
@@ -5179,6 +5179,8 @@ tn@109ab000 {
 			clocks = <&aoss_qmp>;
 			clock-names = "apb_pclk";
 
+			arm,primecell-periphid = <0x000f0c00>;
+
 			in-ports {
 				#address-cells = <1>;
 				#size-cells = <0>;

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 4/4] arm64: dts: qcom: glymur: use Aggregator TNOC compatible
  2026-11-18  7:01 [PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform Jie Gan
                   ` (2 preceding siblings ...)
  2026-11-18  7:01 ` [PATCH 3/4] arm64: dts: qcom: sm8750: " Jie Gan
@ 2026-11-18  7:01 ` Jie Gan
  2026-11-25 10:09   ` Konrad Dybcio
  2026-11-18  9:44 ` [PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform Suzuki K Poulose
  4 siblings, 1 reply; 11+ messages in thread
From: Jie Gan @ 2026-11-18  7:01 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Krzysztof Kozlowski,
	Conor Dooley, Jingyi Wang, Suzuki K Poulose, Rob Herring, Leo Yan,
	Tingwei Zhang, Mike Leach, James Clark, Yuanfang Zhang
  Cc: Konrad Dybcio, linux-arm-msm, devicetree, coresight,
	linux-arm-kernel, Jie Gan

The traceNoC node is the system-level Aggregator TNOC, so it must own a
valid ATID that tags the whole aggregation path. It was marked compatible
with "qcom,coresight-itnoc", an Interconnect TNOC, which is never assigned
an ATID. As a result the aggregator had no trace ID and could not tag the
merged trace.

Switch the node to "qcom,coresight-tnoc", "arm,primecell" so it is
described as the Aggregator TNOC it is and is assigned a system trace ID.
Rename the node to "tn" and use the "apb_pclk" clock name as required by
the Aggregator TNOC binding.

The Component ID returned by the hardware is 0x00000000 instead of a
valid AMBA Component ID, which would make the AMBA probe fail, so also add
the "arm,primecell-periphid" property to have the AMBA bus use the
specified peripheral ID instead of reading it from the device.

Fixes: 1f7d0c42a08d ("arm64: dts: qcom: glymur: add coresight nodes")
Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/glymur.dtsi | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
index 165dfa11f17f..323207989d25 100644
--- a/arch/arm64/boot/dts/qcom/glymur.dtsi
+++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
@@ -7389,12 +7389,14 @@ qm_tpdm_out: endpoint {
 			};
 		};
 
-		itnoc@11200000 {
-			compatible = "qcom,coresight-itnoc";
+		tn@11200000 {
+			compatible = "qcom,coresight-tnoc", "arm,primecell";
 			reg = <0x0 0x11200000 0x0 0x3c00>;
 
 			clocks = <&aoss_qmp>;
-			clock-names = "apb";
+			clock-names = "apb_pclk";
+
+			arm,primecell-periphid = <0x000f0c00>;
 
 			in-ports {
 				#address-cells = <1>;

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform
  2026-11-18  7:01 [PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform Jie Gan
                   ` (3 preceding siblings ...)
  2026-11-18  7:01 ` [PATCH 4/4] arm64: dts: qcom: glymur: use Aggregator TNOC compatible Jie Gan
@ 2026-11-18  9:44 ` Suzuki K Poulose
  4 siblings, 0 replies; 11+ messages in thread
From: Suzuki K Poulose @ 2026-11-18  9:44 UTC (permalink / raw)
  To: Jie Gan, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	Krzysztof Kozlowski, Conor Dooley, Jingyi Wang, Rob Herring,
	Leo Yan, Tingwei Zhang, Mike Leach, James Clark, Yuanfang Zhang
  Cc: Konrad Dybcio, linux-arm-msm, devicetree, coresight,
	linux-arm-kernel

On 18/11/2026 07:01, Jie Gan wrote:
> The traceNoC (Trace Network-On-Chip) node on kaanapali, sm8750 and glymur
> is described with the "qcom,coresight-tnoc", "arm,primecell" compatible,
> so the device is created on the AMBA bus. To bind an AMBA device, the bus
> reads the peripheral and component ID registers (PID/CID) at the top of
> the device's register block and matches them against the primecell ID.
> On these platforms the Component ID returned by the hardware is
> 0x00000000 instead of a valid AMBA Component ID, so the AMBA probe fails
> and the traceNoC is left stuck in deferred probe indefinitely, leaving
> its trace path unavailable.
> 
> This series fixes the issue in the simplest way: keep the existing
> "arm,primecell" compatible and add the "arm,primecell-periphid" property
> to the traceNoC nodes. The AMBA bus then uses the peripheral ID given in
> the device tree instead of reading it from the device, which lets the
> traceNoC probe on this hardware. No binding or driver change is needed.
> 
> History of this issue:
> 
> This is an alternative to the series that fixes the same problem by
> moving the traceNoC onto the platform bus instead of AMBA.
> 
> Latest revision of that series:
> https://lore.kernel.org/all/20261110-fix-trace-noc-probe-issue-v7-0-2f06905c77fe@oss.qualcomm.com/
> 
> That approach requires a binding change and a driver change in addition
> to the DT changes. This series instead keeps the hardware described as an
> AMBA device and works around the invalid Component ID with the existing
> "arm,primecell-periphid" property, so only the device tree is touched.
> 
> Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
> ---
> Jie Gan (4):
>        dt-bindings: arm: coresight-tnoc: Allow arm,primecell-periphid
>        arm64: dts: qcom: kaanapali: add periphid for traceNoC
>        arm64: dts: qcom: sm8750: add periphid for traceNoC
>        arm64: dts: qcom: glymur: use Aggregator TNOC compatible
> 
>   Documentation/devicetree/bindings/arm/qcom,coresight-tnoc.yaml | 5 ++++-
>   arch/arm64/boot/dts/qcom/glymur.dtsi                           | 8 +++++---
>   arch/arm64/boot/dts/qcom/kaanapali.dtsi                        | 2 ++
>   arch/arm64/boot/dts/qcom/sm8750.dtsi                           | 2 ++
>   4 files changed, 13 insertions(+), 4 deletions(-)
> ---
> base-commit: 7cfbf79c66c63e807ea452abf0546e6f6d6833a6
> change-id: 20261118-fix-tracenoc-probe-bf8025cad2ca
> 
> Best regards,

I assume this would go through the qcom platform tree, as this is mostly
DTS changes.

For the series,

Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 2/4] arm64: dts: qcom: kaanapali: add periphid for traceNoC
  2026-11-18  7:01 ` [PATCH 2/4] arm64: dts: qcom: kaanapali: add periphid for traceNoC Jie Gan
@ 2026-11-20  8:39   ` Abel Vesa
  2026-11-25 10:09   ` Konrad Dybcio
  1 sibling, 0 replies; 11+ messages in thread
From: Abel Vesa @ 2026-11-20  8:39 UTC (permalink / raw)
  To: Jie Gan
  Cc: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Krzysztof Kozlowski,
	Conor Dooley, Jingyi Wang, Suzuki K Poulose, Rob Herring, Leo Yan,
	Tingwei Zhang, Mike Leach, James Clark, Yuanfang Zhang,
	Konrad Dybcio, linux-arm-msm, devicetree, coresight,
	linux-arm-kernel

On 26-11-18 15:01:44, Jie Gan wrote:
> The traceNoC node uses the "qcom,coresight-tnoc", "arm,primecell"
> compatible, which places the device on the AMBA bus. To bind an AMBA
> device, the bus reads the peripheral and component ID registers (PID/CID)
> at the top of the device's register block and matches them against the
> primecell ID. The Component ID returned by the hardware is 0x00000000
> instead of a valid AMBA Component ID, so the AMBA probe fails and the
> device is left stuck in deferred probe indefinitely.
> 
> Add the "arm,primecell-periphid" property so the AMBA bus uses the
> specified peripheral ID instead of reading it from the device, which
> allows the traceNoC to probe on this hardware.
> 
> Fixes: f73959d86c15 ("arm64: dts: qcom: kaanapali: add coresight nodes")
> Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>

Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 3/4] arm64: dts: qcom: sm8750: add periphid for traceNoC
  2026-11-18  7:01 ` [PATCH 3/4] arm64: dts: qcom: sm8750: " Jie Gan
@ 2026-11-20  8:39   ` Abel Vesa
  2026-11-25 10:09   ` Konrad Dybcio
  1 sibling, 0 replies; 11+ messages in thread
From: Abel Vesa @ 2026-11-20  8:39 UTC (permalink / raw)
  To: Jie Gan
  Cc: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Krzysztof Kozlowski,
	Conor Dooley, Jingyi Wang, Suzuki K Poulose, Rob Herring, Leo Yan,
	Tingwei Zhang, Mike Leach, James Clark, Yuanfang Zhang,
	Konrad Dybcio, linux-arm-msm, devicetree, coresight,
	linux-arm-kernel

On 26-11-18 15:01:45, Jie Gan wrote:
> The traceNoC node uses the "qcom,coresight-tnoc", "arm,primecell"
> compatible, which places the device on the AMBA bus. To bind an AMBA
> device, the bus reads the peripheral and component ID registers (PID/CID)
> at the top of the device's register block and matches them against the
> primecell ID. The Component ID returned by the hardware is 0x00000000
> instead of a valid AMBA Component ID, so the AMBA probe fails and the
> device is left stuck in deferred probe indefinitely.
> 
> Add the "arm,primecell-periphid" property so the AMBA bus uses the
> specified peripheral ID instead of reading it from the device, which
> allows the traceNoC to probe on this hardware.
> 
> Fixes: ebd1eb365cae ("arm64: qcom: dts: sm8750: add coresight nodes")
> Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>

Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 2/4] arm64: dts: qcom: kaanapali: add periphid for traceNoC
  2026-11-18  7:01 ` [PATCH 2/4] arm64: dts: qcom: kaanapali: add periphid for traceNoC Jie Gan
  2026-11-20  8:39   ` Abel Vesa
@ 2026-11-25 10:09   ` Konrad Dybcio
  1 sibling, 0 replies; 11+ messages in thread
From: Konrad Dybcio @ 2026-11-25 10:09 UTC (permalink / raw)
  To: Jie Gan, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	Krzysztof Kozlowski, Conor Dooley, Jingyi Wang, Suzuki K Poulose,
	Rob Herring, Leo Yan, Tingwei Zhang, Mike Leach, James Clark,
	Yuanfang Zhang
  Cc: linux-arm-msm, devicetree, coresight, linux-arm-kernel

On 11/18/26 8:01 AM, Jie Gan wrote:
> The traceNoC node uses the "qcom,coresight-tnoc", "arm,primecell"
> compatible, which places the device on the AMBA bus. To bind an AMBA
> device, the bus reads the peripheral and component ID registers (PID/CID)
> at the top of the device's register block and matches them against the
> primecell ID. The Component ID returned by the hardware is 0x00000000
> instead of a valid AMBA Component ID, so the AMBA probe fails and the
> device is left stuck in deferred probe indefinitely.
> 
> Add the "arm,primecell-periphid" property so the AMBA bus uses the
> specified peripheral ID instead of reading it from the device, which
> allows the traceNoC to probe on this hardware.
> 
> Fixes: f73959d86c15 ("arm64: dts: qcom: kaanapali: add coresight nodes")
> Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 3/4] arm64: dts: qcom: sm8750: add periphid for traceNoC
  2026-11-18  7:01 ` [PATCH 3/4] arm64: dts: qcom: sm8750: " Jie Gan
  2026-11-20  8:39   ` Abel Vesa
@ 2026-11-25 10:09   ` Konrad Dybcio
  1 sibling, 0 replies; 11+ messages in thread
From: Konrad Dybcio @ 2026-11-25 10:09 UTC (permalink / raw)
  To: Jie Gan, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	Krzysztof Kozlowski, Conor Dooley, Jingyi Wang, Suzuki K Poulose,
	Rob Herring, Leo Yan, Tingwei Zhang, Mike Leach, James Clark,
	Yuanfang Zhang
  Cc: linux-arm-msm, devicetree, coresight, linux-arm-kernel

On 11/18/26 8:01 AM, Jie Gan wrote:
> The traceNoC node uses the "qcom,coresight-tnoc", "arm,primecell"
> compatible, which places the device on the AMBA bus. To bind an AMBA
> device, the bus reads the peripheral and component ID registers (PID/CID)
> at the top of the device's register block and matches them against the
> primecell ID. The Component ID returned by the hardware is 0x00000000
> instead of a valid AMBA Component ID, so the AMBA probe fails and the
> device is left stuck in deferred probe indefinitely.
> 
> Add the "arm,primecell-periphid" property so the AMBA bus uses the
> specified peripheral ID instead of reading it from the device, which
> allows the traceNoC to probe on this hardware.
> 
> Fixes: ebd1eb365cae ("arm64: qcom: dts: sm8750: add coresight nodes")
> Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 4/4] arm64: dts: qcom: glymur: use Aggregator TNOC compatible
  2026-11-18  7:01 ` [PATCH 4/4] arm64: dts: qcom: glymur: use Aggregator TNOC compatible Jie Gan
@ 2026-11-25 10:09   ` Konrad Dybcio
  0 siblings, 0 replies; 11+ messages in thread
From: Konrad Dybcio @ 2026-11-25 10:09 UTC (permalink / raw)
  To: Jie Gan, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	Krzysztof Kozlowski, Conor Dooley, Jingyi Wang, Suzuki K Poulose,
	Rob Herring, Leo Yan, Tingwei Zhang, Mike Leach, James Clark,
	Yuanfang Zhang
  Cc: linux-arm-msm, devicetree, coresight, linux-arm-kernel

On 11/18/26 8:01 AM, Jie Gan wrote:
> The traceNoC node is the system-level Aggregator TNOC, so it must own a
> valid ATID that tags the whole aggregation path. It was marked compatible
> with "qcom,coresight-itnoc", an Interconnect TNOC, which is never assigned
> an ATID. As a result the aggregator had no trace ID and could not tag the
> merged trace.
> 
> Switch the node to "qcom,coresight-tnoc", "arm,primecell" so it is
> described as the Aggregator TNOC it is and is assigned a system trace ID.
> Rename the node to "tn" and use the "apb_pclk" clock name as required by
> the Aggregator TNOC binding.
> 
> The Component ID returned by the hardware is 0x00000000 instead of a
> valid AMBA Component ID, which would make the AMBA probe fail, so also add
> the "arm,primecell-periphid" property to have the AMBA bus use the
> specified peripheral ID instead of reading it from the device.
> 
> Fixes: 1f7d0c42a08d ("arm64: dts: qcom: glymur: add coresight nodes")
> Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-11-25 10:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18  7:01 [PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform Jie Gan
2026-11-18  7:01 ` [PATCH 1/4] dt-bindings: arm: coresight-tnoc: Allow arm,primecell-periphid Jie Gan
2026-11-18  7:01 ` [PATCH 2/4] arm64: dts: qcom: kaanapali: add periphid for traceNoC Jie Gan
2026-11-20  8:39   ` Abel Vesa
2026-11-25 10:09   ` Konrad Dybcio
2026-11-18  7:01 ` [PATCH 3/4] arm64: dts: qcom: sm8750: " Jie Gan
2026-11-20  8:39   ` Abel Vesa
2026-11-25 10:09   ` Konrad Dybcio
2026-11-18  7:01 ` [PATCH 4/4] arm64: dts: qcom: glymur: use Aggregator TNOC compatible Jie Gan
2026-11-25 10:09   ` Konrad Dybcio
2026-11-18  9:44 ` [PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform Suzuki K Poulose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox