[PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform

Jie Gan jie.gan at oss.qualcomm.com
Tue Nov 17 23:01:42 PST 2026


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 at 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 at oss.qualcomm.com>




More information about the linux-arm-kernel mailing list