All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Shawn Guo" <shengchao.guo@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH RFC v4 2/2] arm64: dts: qcom: nord: add CoreSight debug nodes
Date: Mon, 30 Nov 2026 14:31:03 +0000	[thread overview]
Message-ID: <sashiko-outbox-241389@kernel.org> (raw)
In-Reply-To: <20261130141919.105669-3-shengchao.guo@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [High] arm64: dts: qcom: nord: undefined aoss_qmp phandle in CoreSight
  nodes
- [Low] arm64: dts: qcom: nord: undocumented arm,primecell-periphid on
  tn@115bc000
--

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

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

This commit adds the CoreSight trace topology nodes for the Qualcomm Nord
SoC in nord.dtsi.

> diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi
> index fdbe290350ddd..46bb9e3160205 100644
> --- a/arch/arm64/boot/dts/qcom/nord.dtsi
> +++ b/arch/arm64/boot/dts/qcom/nord.dtsi

[ ... ]

> @@ -1654,239 +1680,3174 @@ tlmm: pinctrl@f100000 {
>  			wakeup-parent = <&pdc>;
>  		};
>  
> -		apps_smmu_0: iommu@15a00000 {
> -			compatible = "qcom,nord-smmu-500",
> -				     "qcom,smmu-500",
> -				     "arm,mmu-500";
> -			reg = <0x0 0x15a00000 0x0 0x100000>;
> -			#iommu-cells = <2>;
> -			#global-interrupts = <1>;
> -			dma-coherent;
> -			interrupts = <GIC_SPI 886 IRQ_TYPE_LEVEL_HIGH>,
> -				     <GIC_ESPI 32 IRQ_TYPE_LEVEL_HIGH>,

[ ... ]

> +		ctcu@10001000 {
> +			compatible = "qcom,nord-ctcu", "qcom,sa8775p-ctcu";
> +			reg = <0x0 0x10001000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb";

[Severity: High]
Where is the aoss_qmp phandle defined?  Neither nord.dtsi nor any file in
the Nord DTS hierarchy defines an aoss_qmp label, so dtc fails to build
nord-ride.dtb and nord-rrd.dtb because all 104 clocked CoreSight nodes
reference <&aoss_qmp>.

[ ... ]

> +		tn@115bc000 {
> +			compatible = "qcom,coresight-tnoc", "arm,primecell";
> +			reg = <0x0 0x115bc000 0x0 0x3c00>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +
> +			arm,primecell-periphid = <0x000f0c00>;

[Severity: Low]
Does arm,primecell-periphid on tn@115bc000 pass dtbs_check?
Documentation/devicetree/bindings/arm/qcom,coresight-tnoc.yaml sets
additionalProperties: false without referencing primecell.yaml or defining
arm,primecell-periphid.

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

      reply	other threads:[~2026-11-30 14:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 14:19 [PATCH RFC v4 0/2] arm64: dts: qcom: nord: add CoreSight debug nodes Shawn Guo
2026-11-30 14:19 ` [PATCH RFC v4 1/2] dt-bindings: arm: qcom,coresight-ctcu: add Nord Shawn Guo
2026-11-30 14:19 ` [PATCH RFC v4 2/2] arm64: dts: qcom: nord: add CoreSight debug nodes Shawn Guo
2026-11-30 14:31   ` 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=sashiko-outbox-241389@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.