From: sashiko-bot@kernel.org
To: "Marek Vasut" <marek.vasut+renesas@mailbox.org>
Cc: wsa+renesas@sang-engineering.com, conor+dt@kernel.org,
krzk+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: renesas: r8a78000: Add PSCI node
Date: Thu, 14 May 2026 11:31:19 +0000 [thread overview]
Message-ID: <20260514113120.0B5EDC2BCC7@smtp.kernel.org> (raw)
In-Reply-To: <20260513225037.49803-1-marek.vasut+renesas@mailbox.org>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Missing 'enable-method' in CPU nodes prevents SMP bring-up.
--
commit 0e20af8dd1fbf54360d3f87985cba2a59a5ee08f
Author: Marek Vasut <marek.vasut+renesas@mailbox.org>
arm64: dts: renesas: r8a78000: Add PSCI node
This commit adds the PSCI node to the r8a78000 device tree to describe SMC
based access. This enables interaction with the TFA BL31 PSCI provider for
tasks such as CPU power management.
> diff --git a/arch/arm64/boot/dts/renesas/r8a78000.dtsi b/arch/arm64/boot/dts/renesas/r8a78000.dtsi
> index 4c97298fa7634..9e759ea46ee20 100644
> --- a/arch/arm64/boot/dts/renesas/r8a78000.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a78000.dtsi
[ ... ]
> @@ -665,6 +665,11 @@ extalr_clk: extalr-clk {
> /* clock-frequency must be set on board */
> };
>
> + psci {
> + compatible = "arm,psci-1.0";
> + method = "smc";
> + };
> +
Does this also require updating the CPU nodes to actually use PSCI?
Looking at the ARM64 SMP bring-up in arch/arm64/kernel/cpu_ops.c, the kernel
relies on cpu_read_enable_method() to determine how to wake up secondary
CPUs. It expects an enable-method property in the device tree for each CPU
node:
arch/arm64/kernel/cpu_ops.c:cpu_read_enable_method() {
...
dn = of_get_cpu_node(cpu, NULL);
...
enable_method = of_get_property(dn, "enable-method", NULL);
if (!enable_method) {
...
}
...
}
Without adding enable-method = "psci" to the cpu nodes in r8a78000.dtsi,
does this cause an SMP regression where the system fails to initialize
secondary cores and boots as a single-core system?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260513225037.49803-1-marek.vasut+renesas@mailbox.org?part=1
next prev parent reply other threads:[~2026-05-14 11:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-13 22:50 [PATCH] arm64: dts: renesas: r8a78000: Add PSCI node Marek Vasut
2026-05-14 11:31 ` sashiko-bot [this message]
2026-05-14 12:39 ` Marek Vasut
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=20260514113120.0B5EDC2BCC7@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=marek.vasut+renesas@mailbox.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=wsa+renesas@sang-engineering.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