Linux-ARM-Kernel Archive on lore.kernel.org
 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

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