From: sashiko-bot@kernel.org
To: "Richard Acayan" <mailingradian@gmail.com>, devicetree@vger.kernel.org
Cc: robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v4 1/5] arm64: dts: qcom: sdm670: add adsp
Date: Tue, 24 Nov 2026 02:14:03 +0000 [thread overview]
Message-ID: <sashiko-outbox-230389@kernel.org> (raw)
In-Reply-To: <20261124015611.187024-2-mailingradian@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] arm64: dts: qcom: sdm670: missing qcom,non-secure-domain in
adsp fastrpc node
- [Low] arm64: dts: qcom: sdm670: overallocated reg size on aoss_qmp
node
--
commit a3147f2e5fca42f59281e14e591b45fec6c8593f
Author: Richard Acayan <mailingradian@gmail.com>
arm64: dts: qcom: sdm670: add adsp
This commit adds the Audio DSP remoteproc node and its associated SMP2P,
AOSS QMP, and APSS shared mailbox nodes to the SDM670 device tree.
> diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi
> index 084d22479ca94..8de8f3f7ea0fb 100644
> --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi
[ ... ]
> @@ -2392,6 +2421,19 @@ dispcc: clock-controller@af00000 {
> #power-domain-cells = <1>;
> };
>
> + aoss_qmp: power-management@c300000 {
> + compatible = "qcom,sdm670-aoss-qmp", "qcom,aoss-qmp";
> + reg = <0 0x0c300000 0 0x100000>;
[Severity: Low]
Should the reg size on aoss_qmp be 0x400 instead of 0x100000, matching
sdm845.dtsi and sibling SoCs?
qmp_probe() calls devm_platform_ioremap_resource(), which requests
exclusive ownership of the full reg range. Reserving the entire 1 MiB
AOSS message RAM aperture rather than the 1 KiB APSS client slice will
prevent other drivers (such as qcom_stats for RPMh sleep stats at
0x0c3f0000) from claiming their memory regions inside that range.
[ ... ]
> @@ -2582,6 +2630,135 @@ cpufreq_hw: cpufreq@17d43000 {
> #freq-domain-cells = <1>;
> };
>
> + adsp_pas: remoteproc@62400000 {
[ ... ]
> + fastrpc {
> + compatible = "qcom,fastrpc";
> + qcom,glink-channels = "fastrpcglink-apps-dsp";
> + label = "adsp";
> + #address-cells = <1>;
> + #size-cells = <0>;
[Severity: Medium]
Should the adsp fastrpc node include the qcom,non-secure-domain boolean
property?
Without qcom,non-secure-domain, fastrpc_rpmsg_probe() defaults to
secure_dsp = true and registers /dev/fastrpc-adsp-secure instead of
/dev/fastrpc-adsp, breaking non-secure userspace audio and sensor
FastRPC clients:
drivers/misc/fastrpc.c:fastrpc_rpmsg_probe() {
...
secure_dsp = !(of_property_read_bool(rdev->of_node, "qcom,non-secure-domain"));
data->secure = secure_dsp;
...
switch (domain_id) {
case ADSP_DOMAIN_ID:
case MDSP_DOMAIN_ID:
case SDSP_DOMAIN_ID:
/* Unsigned PD offloading is only supported on CDSP and GDSP */
data->unsigned_support = false;
err = fastrpc_device_register(rdev, data, secure_dsp, domain);
if (err)
goto fdev_error;
break;
...
}
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124015611.187024-1-mailingradian@gmail.com?part=1
next prev parent reply other threads:[~2026-11-24 2:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 1:56 [PATCH v4 0/5] ADSP for SDM670 and sound on Google Pixel 3a Richard Acayan
2026-11-24 1:56 ` [PATCH v4 1/5] arm64: dts: qcom: sdm670: add adsp Richard Acayan
2026-11-24 2:14 ` sashiko-bot [this message]
2026-11-24 1:56 ` [PATCH v4 2/5] arm64: dts: qcom: sdm670-google: enable adsp Richard Acayan
2026-11-24 1:56 ` [PATCH v4 3/5] arm64: dts: qcom: pm660l: add analog audio codec Richard Acayan
2026-11-24 1:56 ` [PATCH v4 4/5] arm64: dts: qcom: sdm670: add digital " Richard Acayan
2026-11-24 2:17 ` sashiko-bot
2026-11-24 1:56 ` [PATCH v4 5/5] arm64: dts: qcom: sdm670-google: add sound card Richard Acayan
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-230389@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=mailingradian@gmail.com \
--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