From: sashiko-bot@kernel.org
To: "Barnabás Czémán" <barnabas.czeman@mainlining.org>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 3/7] pmdomain: qcom: rpmpd: Split SDM632 pm domains from MSM8953
Date: Fri, 02 Oct 2026 09:14:02 +0000 [thread overview]
Message-ID: <20261002091403.61BF71F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20261002-sdm632-rpmpd-v3-3-95c47d0f26cf@mainlining.org>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] pmdomain: qcom: rpmpd: DT ABI break and log spam from removed domains
- [Low] dt-bindings: power: qcom-rpmpd: duplicate ID for RPMPD_VDDMD
--
commit 05d59e980f96866ae3745192a6b683fa44f5be8e
Author: Barnabás Czémán <barnabas.czeman@mainlining.org>
pmdomain: qcom: rpmpd: Split SDM632 pm domains from MSM8953
Remove modem related pm domains from MSM8953 rpmpd because MSM8953 MSS
is using mss-supply as regulator. Split SDM632 rpmpd from MSM8953 because
SDM632 MSS is using mss-supply as pm domain.
> diff --git a/drivers/pmdomain/qcom/rpmpd.c b/drivers/pmdomain/qcom/rpmpd.c
> index 5f55fc791131a..c37a79d6bc433 100644
> --- a/drivers/pmdomain/qcom/rpmpd.c
> +++ b/drivers/pmdomain/qcom/rpmpd.c
[ ... ]
> @@ -703,8 +692,6 @@ static const struct rpmpd_desc msm8917_desc = {
> };
>
> static struct rpmpd *msm8953_rpmpds[] = {
> - [MSM8953_VDDMD] = &md_s1a_lvl,
> - [MSM8953_VDDMD_AO] = &md_s1a_lvl_ao,
[Severity: High]
Does removing these entries break ABI compatibility for older device trees?
By removing MSM8953_VDDMD (0) and MSM8953_VDDMD_AO (1), these array indices
become NULL. When rpmpd_probe() iterates over the array, it will encounter
these empty entries and trigger a warning:
if (!rpmpds[i]) {
dev_warn(&pdev->dev, "rpmpds[] with empty entry at index=%d\n",
i);
continue;
}
Will this cause unconditional boot log warnings on MSM8953 systems?
Additionally, if older device trees still reference <&rpmpd MSM8953_VDDMD>,
would of_genpd_xlate_onecell() return an error and cause consumer drivers
to indefinitely defer probing?
> [MSM8953_VDDCX] = &cx_s2a_lvl,
> [MSM8953_VDDCX_AO] = &cx_s2a_lvl_ao,
> [MSM8953_VDDCX_VFL] = &cx_s2a_vfl,
[ ... ]
> @@ -844,6 +831,21 @@ static const struct rpmpd_desc qm215_desc = {
> .max_state = RPM_SMD_LEVEL_TURBO,
> };
>
> +static struct rpmpd *sdm632_rpmpds[] = {
> + [RPMPD_VDDMD] = &md_s1a_lvl,
[Severity: Low]
Is there a conflicting index assignment introduced by using RPMPD_VDDMD here?
Looking at include/dt-bindings/power/qcom-rpmpd.h, RPMPD_VDDMD is defined
as 5, which is the exact same ID assigned to RPMPD_VDDMX_VFL:
#define RPMPD_VDDMX_VFL 5
#define RPMPD_VDDMD 5
While SDM632 does not use VDDMX_VFL, could having two distinct generic PM
domains share the same integer ID break the uniqueness guarantee of generic
bindings and cause silent overwrites if a future SoC initializes both?
> + [RPMPD_VDDCX] = &cx_s2a_lvl,
> + [RPMPD_VDDCX_AO] = &cx_s2a_lvl_ao,
> + [RPMPD_VDDCX_VFL] = &cx_s2a_vfl,
> + [RPMPD_VDDMX] = &mx_s7a_lvl,
> + [RPMPD_VDDMX_AO] = &mx_s7a_lvl_ao,
> +};
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261002-sdm632-rpmpd-v3-0-95c47d0f26cf@mainlining.org?part=3
next prev parent reply other threads:[~2026-10-02 9:14 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 22:38 [PATCH v3 0/7] MSM8953/SDM632 rpmpd/mss fixes Barnabás Czémán
2026-10-01 22:38 ` [PATCH v3 1/7] dt-bindings: power: qcom-rpmpd: define RPMPD_VDDMD Barnabás Czémán
2026-10-02 9:14 ` sashiko-bot
2026-10-02 9:57 ` Krzysztof Kozlowski
2026-10-02 14:04 ` Barnabás Czémán
2026-10-05 7:00 ` Dmitry Baryshkov
2026-10-01 22:38 ` [PATCH v3 2/7] dt-bindings: power: qcom,rpmpd: Add SDM632 Barnabás Czémán
2026-10-05 7:01 ` Dmitry Baryshkov
2026-10-01 22:38 ` [PATCH v3 3/7] pmdomain: qcom: rpmpd: Split SDM632 pm domains from MSM8953 Barnabás Czémán
2026-10-02 9:14 ` sashiko-bot [this message]
2026-10-05 7:04 ` Dmitry Baryshkov
2026-10-06 18:21 ` Barnabás Czémán
2026-10-01 22:38 ` [PATCH v3 4/7] remoteproc: qcom_q6v5_mss: Use mss as regulator for MSM8953 Barnabás Czémán
2026-10-02 9:14 ` sashiko-bot
2026-10-05 7:06 ` Dmitry Baryshkov
2026-10-06 18:18 ` Barnabás Czémán
2026-10-01 22:38 ` [PATCH v3 5/7] dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add SDM632 Barnabás Czémán
2026-10-02 9:14 ` sashiko-bot
2026-10-02 10:01 ` Krzysztof Kozlowski
2026-10-02 14:05 ` Barnabás Czémán
2026-10-01 22:38 ` [PATCH v3 6/7] remoteproc: qcom_q6v5_mss: Add SDM632 MSS Barnabás Czémán
2026-10-01 22:38 ` [PATCH v3 7/7] arm64: dts: qcom: sdm632: Correct power domains Barnabás Czémán
2026-10-02 9:14 ` sashiko-bot
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=20261002091403.61BF71F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=barnabas.czeman@mainlining.org \
--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