From: sashiko-bot@kernel.org
To: "Anandu Krishnan E" <anandu.e@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: nord: use "hpass" label for adsp fastrpc node
Date: Tue, 24 Nov 2026 23:35:00 +0000 [thread overview]
Message-ID: <sashiko-outbox-232233@kernel.org> (raw)
In-Reply-To: <20261125-nord-label-change-v1-1-0d6292feddcc@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: qcom: nord: unsupported hpass label breaks
fastrpc_rpmsg_probe()
--
commit 6e2c2cf46ca4dbe24b8cc691c2aa1d41ba3a3c10
Author: Anandu Krishnan E <anandu.e@oss.qualcomm.com>
arm64: dts: qcom: nord: use "hpass" label for adsp fastrpc node
This commit changes the label property of the ADSP FastRPC node in
nord.dtsi from "adsp" to "hpass".
> diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi
> index 56778dd444e4e..5e15cdb2496da 100644
> --- a/arch/arm64/boot/dts/qcom/nord.dtsi
> +++ b/arch/arm64/boot/dts/qcom/nord.dtsi
> @@ -2224,7 +2224,7 @@ fastrpc {
> compatible = "qcom,nord-fastrpc",
> "qcom,kaanapali-fastrpc";
> qcom,glink-channels = "fastrpcglink-apps-dsp";
> - label = "adsp";
> + label = "hpass";
[Severity: High]
Does setting label to "hpass" cause fastrpc_rpmsg_probe() to fail with
-EINVAL?
fastrpc_rpmsg_probe() passes the label string to fastrpc_get_domain_id(),
which only recognizes "adsp", "cdsp", "mdsp", "sdsp", and "gdsp" prefixes:
drivers/misc/fastrpc.c:fastrpc_get_domain_id() {
if (!strncmp(domain, "adsp", 4))
return ADSP_DOMAIN_ID;
else if (!strncmp(domain, "cdsp", 4))
return CDSP_DOMAIN_ID;
else if (!strncmp(domain, "mdsp", 4))
return MDSP_DOMAIN_ID;
else if (!strncmp(domain, "sdsp", 4))
return SDSP_DOMAIN_ID;
else if (!strncmp(domain, "gdsp", 4))
return GDSP_DOMAIN_ID;
return -EINVAL;
}
With "hpass", fastrpc_get_domain_id() returns -EINVAL and
fastrpc_rpmsg_probe() aborts before initializing the remote heap or
registering the FastRPC device and compute context banks.
"hpass" is also not listed in the label enum in
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml, which only
allows adsp, mdsp, sdsp, cdsp, cdsp1, cdsp2, cdsp3, gdsp0, and gdsp1.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261125-nord-label-change-v1-1-0d6292feddcc@oss.qualcomm.com?part=1
prev parent reply other threads:[~2026-11-24 23:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 23:28 [PATCH] arm64: dts: qcom: nord: use "hpass" label for adsp fastrpc node Anandu Krishnan E
2026-11-24 23:35 ` sashiko-bot [this message]
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=sashiko-outbox-232233@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=anandu.e@oss.qualcomm.com \
--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