All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Shawn Guo" <shengchao.guo@oss.qualcomm.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: qcom: nord: add CoreSight debug nodes
Date: Tue, 22 Sep 2026 10:17:59 +0000	[thread overview]
Message-ID: <20260922101759.85E181F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260922100850.527109-3-shengchao.guo@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Medium] dts: sysfs naming collision due to duplicated DDR3 labels on DDR2 TPDMs
- [Low] dts: typo 'hpass' instead of 'lpass' in dummy source node name and label
- [Low] dts: inconsistent naming pattern for nsp0 static TPDM
--

commit ecdfc6b26cc7775c5a0086623c2b989b0669a009
Author: Jie Gan <jie.gan@oss.qualcomm.com>

arm64: dts: qcom: nord: add CoreSight debug nodes

Add the CoreSight trace topology for the Qualcomm Nord SoC, including CTCU,
STM, TPDM/TPDA sources and aggregators, funnels, replicators, TMC ETR/ETF
sinks, and per-subsystem CTIs.

> diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi
> --- a/arch/arm64/boot/dts/qcom/nord.dtsi
> +++ b/arch/arm64/boot/dts/qcom/nord.dtsi
[ ... ]
> +	hpass-stm {
> +		compatible = "arm,coresight-dummy-source";
> +		label = "hpass_stm";
> +		arm,static-trace-id = <25>;
> +
> +		out-ports {
> +			port {
> +				lpass_stm_out: endpoint {
> +					remote-endpoint = <&lpass_tn_in18>;

[Severity: Low]
Does this dummy source node name and label have a typo? It uses 'hpass', but
the endpoint connection and the commit message use 'lpass'.

[ ... ]
> +		tpdm@12410000 {
> +			compatible = "qcom,coresight-tpdm", "arm,primecell";
> +			reg = <0x0 0x12410000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			label = "tpdm_ddr3_llcc_2";

[Severity: Medium]
Can this sysfs label cause a naming collision? It incorrectly labels a DDR2
TPDM as DDR3. CoreSight drivers use this property to name devices in sysfs,
so it will collide with the actual DDR3 TPDM node at tpdm@12610000 during
boot.

[ ... ]
> +		tpdm@12411000 {
> +			compatible = "qcom,coresight-tpdm", "arm,primecell";
> +			reg = <0x0 0x12411000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			label = "tpdm_ddr3_llcc_3";

[Severity: Medium]
Similarly, will this label collide with the DDR3 node at tpdm@12611000? It
seems this should be labeled tpdm_ddr2_llcc_3.

[ ... ]
> +	tpdm-nsp0-cdsp-llm-2 {
> +		compatible = "qcom,coresight-static-tpdm";
> +		label = "tpdm_nsp0_cdsp_llm_2";

[Severity: Low]
This isn't a bug, but does this node's name and label deviate from the
established pattern? The static TPDM nodes for NSP1 through NSP3
consistently use the suffix 'llm2' (e.g., tpdm_nsp1_cdsp_llm2), whereas
this one uses 'llm_2'.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260922100850.527109-1-shengchao.guo@oss.qualcomm.com?part=2

      parent reply	other threads:[~2026-09-22 10:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22 10:08 [PATCH 0/2] arm64: dts: qcom: nord: add CoreSight debug nodes Shawn Guo
2026-09-22 10:08 ` [PATCH 1/2] dt-bindings: arm: qcom,coresight-ctcu: add Nord Shawn Guo
2026-09-23  7:09   ` Bartosz Golaszewski
2026-09-28  6:31   ` Krzysztof Kozlowski
2026-09-22 10:08 ` [PATCH 2/2] arm64: dts: qcom: nord: add CoreSight debug nodes Shawn Guo
2026-09-22 10:14   ` Jie Gan
2026-09-22 10:26     ` Shawn Guo
2026-09-22 10:17   ` sashiko-bot [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=20260922101759.85E181F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=shengchao.guo@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.