From: sashiko-bot@kernel.org
To: "Andrew Gaylard" <ag@ffroot.co.za>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 4/6] arm: sunplus: enable SMP via PSCI on SP7021
Date: Mon, 21 Sep 2026 18:30:57 +0000 [thread overview]
Message-ID: <20260921183058.19D301F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260921182620.17597-5-ag@ffroot.co.za>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dts: psci method smc contradicts commit message claiming hvc
--
commit ad7995ba29a2bfb8caf59ae3e73d64961f25f162
Author: Andrew Gaylard <ag@ffroot.co.za>
arm: sunplus: enable SMP via PSCI on SP7021
This commit adds the psci node and enables SMP via PSCI on the Cortex-A7 cores
of the SP7021.
> diff --git a/arch/arm/boot/dts/sunplus/sunplus-sp7021-achip.dtsi b/arch/arm/boot/dts/sunplus/sunplus-sp7021-achip.dtsi
> index 493d32357e4eb..b73cfde7ace4d 100644
> --- a/arch/arm/boot/dts/sunplus/sunplus-sp7021-achip.dtsi
> +++ b/arch/arm/boot/dts/sunplus/sunplus-sp7021-achip.dtsi
[ ... ]
> };
>
> + psci {
> + compatible = "arm,psci-0.2";
> + method = "smc";
[Severity: Medium]
The commit message states that the SP7021 firmware implements PSCI 0.2 via
HVC, but the psci node configures the method as smc.
If the firmware actually requires HVC, will using SMC cause PSCI calls to trap
to the wrong exception level (EL3 instead of EL2) or trigger an undefined
instruction exception during SMP bring-up?
Could you clarify if the device tree method should be hvc, or if the commit
message needs to be updated?
> + };
> +
> gic: interrupt-controller@9f101000 {
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260921182620.17597-1-ag@ffroot.co.za?part=4
next prev parent reply other threads:[~2026-09-21 18:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 18:26 [PATCH v3 0/6] arm: sunplus: add Tibbo LTPP3G2 board support Andrew Gaylard
2026-09-21 18:26 ` [PATCH v3 1/6] dt-bindings: vendor-prefixes: Add Tibbo Andrew Gaylard
2026-09-21 18:26 ` [PATCH v3 2/6] dt-bindings: arm: sunplus: add Tibbo LTPP3G2 board compatible string Andrew Gaylard
2026-09-21 18:26 ` [PATCH v3 3/6] arm: dts: sunplus: add PWM, watchdog and MMC nodes to SP7021 DTSI Andrew Gaylard
2026-09-21 18:34 ` sashiko-bot
2026-09-21 18:26 ` [PATCH v3 4/6] arm: sunplus: enable SMP via PSCI on SP7021 Andrew Gaylard
2026-09-21 18:30 ` sashiko-bot [this message]
2026-09-21 18:26 ` [PATCH v3 5/6] arm: dts: sunplus: add Tibbo LTPP3G2 board Andrew Gaylard
2026-09-21 18:26 ` [PATCH v3 6/6] configs: sp7021: fix defaults and enable existing device drivers Andrew Gaylard
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=20260921183058.19D301F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=ag@ffroot.co.za \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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