From: sashiko-bot@kernel.org
To: "Shawn Guo" <shengchao.guo@oss.qualcomm.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v13 2/6] arm64: dts: qcom: Add device tree for Nord GearVM variant
Date: Fri, 28 Aug 2026 04:00:46 +0000 [thread overview]
Message-ID: <20260828040047.694DC1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260828034958.3165-3-shengchao.guo@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] GENI QUP Serial Engine power domains are incorrectly mapped to SCMI channels based on their serial protocol rather than their physical QUPv3 macro instance.
--
commit 41071503143d39ef303989d323bfed347d9037f8
Author: Deepti Jaggi <deepti.jaggi@oss.qualcomm.com>
arm64: dts: qcom: Add device tree for Nord GearVM variant
Add SoC-level device tree include for Nord GearVM variant, where a VM controls
platform resources (clocks, regulators, powerdomains, etc.) as an SCMI server.
> diff --git a/arch/arm64/boot/dts/qcom/nord-gearvm.dtsi b/arch/arm64/boot/dts/qcom/nord-gearvm.dtsi
> new file mode 100644
> index 0000000000000..5514f9a6f49f5
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/nord-gearvm.dtsi
[ ... ]
> +&i2c15 {
> + compatible = "qcom,sa8797p-geni-i2c",
> + "qcom,sa8255p-geni-i2c";
> + power-domains = <&scmi9_pd 15>,
> + <&scmi9_dvfs 15>;
> + power-domain-names = "power",
> + "perf";
> +};
[Severity: High]
Are the power domains mapped incorrectly here? SE15 is assigned to the
scmi9 domain when configured as I2C.
[ ... ]
> +&spi15 {
> + compatible = "qcom,sa8797p-geni-spi",
> + "qcom,sa8255p-geni-spi";
> + power-domains = <&scmi10_pd 15>,
> + <&scmi10_dvfs 15>;
> + power-domain-names = "power",
> + "perf";
> +};
[Severity: High]
However, the exact same physical SE15 hardware block is assigned to a
completely different domain (scmi10) when configured as SPI.
[ ... ]
> +&uart15 {
> + compatible = "qcom,sa8797p-geni-debug-uart",
> + "qcom,sa8255p-geni-debug-uart";
> + power-domains = <&scmi11_pd 15>,
> + <&scmi11_dvfs 15>;
> + power-domain-names = "power",
> + "perf";
> +};
[Severity: High]
And here, the same SE15 block is assigned to yet another domain (scmi11)
when configured as UART.
Does this incorrectly assign the power domains based on the serial protocol
rather than mapping per physical QUPv3 hardware macro instance?
If hardware peripherals request the wrong power and performance domains from
the firmware, could the SCMI server reject the requests or manipulate the
wrong physical domains, resulting in the peripherals failing to probe?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260828034958.3165-1-shengchao.guo@oss.qualcomm.com?part=2
next prev parent reply other threads:[~2026-08-28 4:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-28 3:49 [PATCH v13 0/6] Add initial device trees for Nord platform Shawn Guo
2026-08-28 3:49 ` [PATCH v13 1/6] arm64: dts: qcom: Add device tree for Nord SoC series Shawn Guo
2026-08-28 4:02 ` sashiko-bot
2026-08-28 3:49 ` [PATCH v13 2/6] arm64: dts: qcom: Add device tree for Nord GearVM variant Shawn Guo
2026-08-28 4:00 ` sashiko-bot [this message]
2026-08-28 3:49 ` [PATCH v13 3/6] arm64: dts: qcom: Add device tree for Nord Embedded variant Shawn Guo
2026-08-28 3:49 ` [PATCH v13 4/6] dt-bindings: arm: qcom: Document Nord reference boards Shawn Guo
2026-08-28 4:03 ` sashiko-bot
2026-08-28 3:49 ` [PATCH v13 5/6] arm64: dts: qcom: Add device tree for Nord Ride board Shawn Guo
2026-08-28 9:08 ` Abel Vesa
2026-08-28 3:49 ` [PATCH v13 6/6] arm64: dts: qcom: Add device tree for Nord RRD board Shawn Guo
2026-08-28 9:09 ` Abel Vesa
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=20260828040047.694DC1F000E9@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox