Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Suzuki K Poulose <suzuki.poulose@arm.com>
To: Jie Gan <jie.gan@oss.qualcomm.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Jingyi Wang <jingyi.wang@oss.qualcomm.com>,
	Rob Herring <robh@kernel.org>, Leo Yan <leo.yan@arm.com>,
	Tingwei Zhang <tingwei.zhang@oss.qualcomm.com>,
	Mike Leach <mike.leach@arm.com>,
	James Clark <james.clark@linaro.org>,
	Yuanfang Zhang <yuanfang.zhang@oss.qualcomm.com>
Cc: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 0/4] Fix the TraceNoC probe issue on QCOM platform
Date: Wed, 18 Nov 2026 09:44:22 +0000	[thread overview]
Message-ID: <35977427-b22f-44a7-a49e-9c30aceaf1f0@arm.com> (raw)
In-Reply-To: <20261118-fix-tracenoc-probe-v1-0-0298dc5f05ac@oss.qualcomm.com>

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>




      parent reply	other threads:[~2026-11-18  9:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Suzuki K Poulose [this message]

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=35977427-b22f-44a7-a49e-9c30aceaf1f0@arm.com \
    --to=suzuki.poulose@arm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=coresight@lists.linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=james.clark@linaro.org \
    --cc=jie.gan@oss.qualcomm.com \
    --cc=jingyi.wang@oss.qualcomm.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=leo.yan@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=mike.leach@arm.com \
    --cc=robh@kernel.org \
    --cc=tingwei.zhang@oss.qualcomm.com \
    --cc=yuanfang.zhang@oss.qualcomm.com \
    /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