From: sashiko-bot@kernel.org
To: "Paul Elder" <paul.elder+renesas@ideasonboard.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org,
wsa+renesas@sang-engineering.com, media-ci@linuxtv.org,
conor+dt@kernel.org, linux-clk@vger.kernel.org
Subject: Re: [PATCH v2 03/11] pmdomain: renesas: r8a78000: Add maps for VIO for SCP FW SDKv4.36
Date: Fri, 18 Sep 2026 17:18:31 +0000 [thread overview]
Message-ID: <20260918171832.0716E1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260919-epaul-v7-3-rc1-x5h-vsp-fcp-v2-3-dbe9236bfd22@ideasonboard.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] pmdomain: r8a78000: probe regression on older SCMI firmware versions
--
commit 15cae81644d1a9205daae4b85676910b2400fe02
Author: Paul Elder <paul.elder+renesas@ideasonboard.com>
pmdomain: renesas: r8a78000: Add maps for VIO for SCP FW SDKv4.36
Add maps for VIO for the VSP and FCP power domains and reset domains.
> diff --git a/drivers/pmdomain/renesas/r8a78000-mdlc.c b/drivers/pmdomain/renesas/r8a78000-mdlc.c
> index a0d83f27735e7..cabe6435ecd79 100644
> --- a/drivers/pmdomain/renesas/r8a78000-mdlc.c
> +++ b/drivers/pmdomain/renesas/r8a78000-mdlc.c
[ ... ]
> @@ -997,8 +1047,8 @@ static const struct mdlc_info r8a78000_mdlc_fw_4_31_0[] = {
> /* FIXME .mod_map = r8a78000_mdlc_vips_mod_fw_4_31_0, */
> }, {
> .base = 0xc5000000 /* mdlc_vio */,
> - /* FIXME .power_map = r8a78000_mdlc_vio_power_fw_4_28_0, */
> - /* FIXME .mod_map = r8a78000_mdlc_vio_mod_fw_4_31_0, */
> + .power_map = r8a78000_mdlc_vio_power_fw_4_31_0,
> + .mod_map = r8a78000_mdlc_vio_mod_fw_4_31_0,
[Severity: Medium]
The commit message indicates these are maps for SCP FW SDKv4.36, but they are
being unconditionally assigned to the r8a78000_mdlc_fw_4_31_0 struct.
If older firmware lacks the newly added VIO IDs, will this cause an immediate
probe abort?
In fill_power_map():
genpd = of_genpd_get_from_provider(&scmi_spec);
if (IS_ERR(genpd))
return dev_err_cast_probe(dev, genpd,
"Failed to get SCMI power domain %u\n",
map[i].fw_id);
If an older firmware (e.g. SDK v4.31) reports fewer SCMI domains than the newly
added VIO IDs, of_genpd_get_from_provider() will return -ENOENT, aborting the
probe and rendering dependent devices unusable.
Should these maps only be applied when the correct firmware version is
detected?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260919-epaul-v7-3-rc1-x5h-vsp-fcp-v2-0-dbe9236bfd22@ideasonboard.com?part=3
next prev parent reply other threads:[~2026-09-18 17:18 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-18 17:06 [PATCH DNI v2 00/11] media: rcar-fcp, vsp1: Enable on R-Car X5H Paul Elder
2026-09-18 17:06 ` [PATCH DNI v2 01/11] dt-bindings: clock: renesas,r8a78000-cpg: Add CPG_SGD4_VIO_DP_{TX,OTHER} Paul Elder
2026-09-18 17:06 ` [PATCH DNI v2 02/11] clk: renesas: r8a78000: Add clock for FCPV and VSP for SCP FW SDKv4.36 Paul Elder
2026-09-18 17:07 ` [PATCH v2 03/11] pmdomain: renesas: r8a78000: Add maps for VIO " Paul Elder
2026-09-18 17:18 ` sashiko-bot [this message]
2026-09-19 17:40 ` Laurent Pinchart
2026-09-18 17:07 ` [PATCH v2 04/11] arm64: renesas: r8a78000: Add FCPV[BI] nodes Paul Elder
2026-09-18 17:18 ` sashiko-bot
2026-09-18 17:07 ` [PATCH v2 05/11] arm64: renesas: r8a78000: Add VSP[BI] nodes Paul Elder
2026-09-18 17:07 ` [PATCH v2 06/11] arm64: renesas: r8a78000: Add FCPVD and VSPD nodes Paul Elder
2026-09-19 17:56 ` Laurent Pinchart
2026-09-18 17:07 ` [PATCH v2 07/11] media: vsp1: Support full VSPB on R-Car M3-W, M3-N and E3 Paul Elder
2026-09-18 17:07 ` [PATCH v2 08/11] media: vsp1: Document X5H SoC ID Paul Elder
2026-09-19 17:58 ` Laurent Pinchart
2026-09-24 9:16 ` Paul Elder
2026-09-24 14:38 ` Laurent Pinchart
2026-09-18 17:07 ` [PATCH v2 09/11] media: vsp1: Add device info entries for VSPD on X5H Paul Elder
2026-09-18 17:17 ` sashiko-bot
2026-09-19 18:11 ` Laurent Pinchart
2026-09-18 17:07 ` [PATCH v2 10/11] media: rcar-fcp: Handle resets Paul Elder
2026-09-18 17:23 ` sashiko-bot
2026-09-19 18:15 ` Laurent Pinchart
2026-09-18 17:07 ` [PATCH DNI v2 11/11] media: rcar-fcp: Check device revision at probe time Paul Elder
2026-09-18 17:15 ` sashiko-bot
2026-09-21 7:41 ` [PATCH DNI v2 00/11] media: rcar-fcp, vsp1: Enable on R-Car X5H Geert Uytterhoeven
2026-09-21 7:51 ` Laurent Pinchart
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=20260918171832.0716E1F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=media-ci@linuxtv.org \
--cc=paul.elder+renesas@ideasonboard.com \
--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 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.