From: sashiko-bot@kernel.org
To: "Barnabás Czémán" <barnabas.czeman@mainlining.org>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v2 3/6] remoteproc: qcom_q6v5_mss: Use mss as regulator for MSM8953
Date: Tue, 29 Sep 2026 18:40:34 +0000 [thread overview]
Message-ID: <20260929184034.AA11B1F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260929-sdm632-rpmpd-v2-3-97ef8858161b@mainlining.org>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] remoteproc: qcom: missing mss-supply breaks MSM8953 modem and DT ABI
--
commit 60b163d9c0ae16c46f303d4d666d5f83a62a90cf
Author: Barnabás Czémán <barnabas.czeman@mainlining.org>
remoteproc: qcom_q6v5_mss: Use mss as regulator for MSM8953
This commit modifies the MSM8953 modem subsystem to use the MSS regulator
via voltages rather than performance levels. It updates the device tree to
remove the mss power domain and modifies the qcom_q6v5_mss driver to
request the mss regulator instead.
> diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi
> --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi
> @@ -1451,9 +1451,8 @@ mpss: remoteproc@4080000 {
> "handover", "stop-ack";
>
> power-domains = <&rpmpd MSM8953_VDDCX>,
> - <&rpmpd MSM8953_VDDMX>,
> - <&rpmpd MSM8953_VDDMD>;
> - power-domain-names = "cx", "mx","mss";
> + <&rpmpd MSM8953_VDDMX>;
> + power-domain-names = "cx", "mx";
[Severity: High]
The old power domain is removed here, but the required replacement mss-supply
is not added to the mpss node. Since the driver is updated to expect this
regulator, won't devm_regulator_get() fall back to a dummy regulator?
This fallback would leave the physical S1 regulator unmanaged, which causes
the modem subsystem to fail to start because it receives no power, breaking
modem and audio functionality.
> diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c
> --- a/drivers/remoteproc/qcom_q6v5_mss.c
> +++ b/drivers/remoteproc/qcom_q6v5_mss.c
[ ... ]
> @@ -2728,6 +2728,14 @@ static const struct rproc_hexagon_res msm8953_mss = {
> },
> {}
> },
> + .active_supply = (struct qcom_mss_reg_res[]) {
> + {
> + .supply = "mss",
> + .uV = 1050000,
> + .uA = 100000,
> + },
> + {}
> + },
[Severity: High]
Does requiring the mss regulator here in msm8953_mss break devices if
mss-supply isn't provided in the device tree? As noted above, missing the
regulator in the DTSI causes a fallback to a dummy regulator, leaving the
modem unpowered.
[ ... ]
> @@ -2741,7 +2749,6 @@ static const struct rproc_hexagon_res msm8953_mss = {
> .proxy_pd_names = (char*[]) {
> "cx",
> "mx",
> - "mss",
> NULL
> },
[Severity: High]
Does removing mss from proxy_pd_names in msm8953_mss break DT ABI? Booting a
new kernel with an old device tree will fail because the old DT relies on the
mss power domain, which this driver now completely ignores.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260929-sdm632-rpmpd-v2-0-97ef8858161b@mainlining.org?part=3
next prev parent reply other threads:[~2026-09-29 18:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-29 18:28 [PATCH v2 0/6] MSM8953/SDM632 rpmpd/mss fixes Barnabás Czémán
2026-09-29 18:28 ` [PATCH v2 1/6] dt-bindings: power: qcom-rpmpd: Remove unused MSM8953 indices Barnabás Czémán
2026-09-29 18:36 ` sashiko-bot
2026-10-01 8:10 ` Krzysztof Kozlowski
2026-09-29 18:28 ` [PATCH v2 2/6] pmdomain: qcom: rpmpd: Split SDM632 pm domains from MSM8953 Barnabás Czémán
2026-09-29 18:44 ` sashiko-bot
2026-09-29 18:28 ` [PATCH v2 3/6] remoteproc: qcom_q6v5_mss: Use mss as regulator for MSM8953 Barnabás Czémán
2026-09-29 18:40 ` sashiko-bot [this message]
2026-09-29 18:28 ` [PATCH v2 4/6] dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add SDM632 Barnabás Czémán
2026-09-29 18:28 ` [PATCH v2 5/6] remoteproc: qcom_q6v5_mss: Add SDM632 MSS Barnabás Czémán
2026-09-29 18:28 ` [PATCH v2 6/6] arm64: dts: qcom: sdm632: Correct power domains Barnabás Czémán
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=20260929184034.AA11B1F00893@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