From: sashiko-bot@kernel.org
To: "Xilin Wu" <sophon@radxa.com>
Cc: conor+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2] arm64: dts: qcom: sc8280xp: Mark FastRPC context banks as dma-coherent
Date: Wed, 09 Sep 2026 07:58:31 +0000 [thread overview]
Message-ID: <20260909075831.DB1E11F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260909-sc8280xp-fastrpc-dma-coherent-v2-1-a112abfd41b4@radxa.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The patch modifies the SDSP (Sensor DSP) context banks instead of the ADSP (Audio DSP) context banks, contradicting the commit message and leaving the ADSP context banks without the intended fix.
--
commit 38a25d40245dd18744b644c71b8689bfd5e22715
Author: Xilin Wu <sophon@radxa.com>
arm64: dts: qcom: sc8280xp: Mark FastRPC context banks as dma-coherent
The FastRPC context banks are DMA-coherent on SC8280XP. Describe this in
the device tree so that the DMA API uses the appropriate coherency
attributes for their mappings.
Link: https://patch.msgid.link/20260507-sc8280xp-fastrpc-dma-coherent-v1-1-e92aed797865@radxa.com
> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> index fbcfd3883bbb4..dfe7dbaebe62d 100644
> --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> @@ -2910,18 +2910,21 @@ compute-cb@1 {
> compatible = "qcom,fastrpc-compute-cb";
> reg = <1>;
> iommus = <&apps_smmu 0x0521 0x0>;
> + dma-coherent;
> };
>
> compute-cb@2 {
> compatible = "qcom,fastrpc-compute-cb";
> reg = <2>;
> iommus = <&apps_smmu 0x0522 0x0>;
> + dma-coherent;
> };
>
> compute-cb@3 {
> compatible = "qcom,fastrpc-compute-cb";
> reg = <3>;
> iommus = <&apps_smmu 0x0523 0x0>;
> + dma-coherent;
> };
> };
> };
[Severity: Medium]
Are these changes modifying the SDSP context banks instead of the ADSP banks?
The commit message states:
"Mark the ADSP and CDSP FastRPC context banks as dma-coherent to fix these
failures and allow QAIRT applications to run on the CDSP."
However, this block of changes in arch/arm64/boot/dts/qcom/sc8280xp.dtsi is
under the slpi remoteproc node, which corresponds to the SDSP
(label = "sdsp").
The actual ADSP context banks under remoteproc_adsp appear to have been
missed by this patch:
arch/arm64/boot/dts/qcom/sc8280xp.dtsi:
remoteproc_adsp: remoteproc@3000000 {
...
fastrpc {
label = "adsp";
...
compute-cb@3 {
compatible = "qcom,fastrpc-compute-cb";
reg = <3>;
iommus = <&apps_smmu 0x0c03 0x0>;
};
Could it be that the dma-coherent property was mistakenly added to the SDSP
banks instead of the ADSP banks? Or is it intended for the SDSP banks to also
receive this property, while the ADSP banks were inadvertently left out?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260909-sc8280xp-fastrpc-dma-coherent-v2-1-a112abfd41b4@radxa.com?part=1
prev parent reply other threads:[~2026-09-09 7:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-09 7:51 [PATCH v2] arm64: dts: qcom: sc8280xp: Mark FastRPC context banks as dma-coherent Xilin Wu
2026-09-09 7:58 ` 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=20260909075831.DB1E11F00A3D@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=sophon@radxa.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.