Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: erebion <erebion@erebion.eu>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org,
	dri-devel@lists.freedesktop.org, robh@kernel.org
Subject: Re: [PATCH 3/8] arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP & MPSS
Date: Sat, 26 Sep 2026 10:31:22 +0000	[thread overview]
Message-ID: <20260926103122.8A14E1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260926-pdx213-upstream-3-v1-3-1609c18b5c1d@erebion.eu>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] arm64: dts: qcom: sm6350: mpss reg size artificially truncated
--

commit 33df29a70738e5d1e7f7a275ffc6f578951ece81
Author: erebion <erebion@erebion.eu>

arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP & MPSS

This commit enables the ADSP, CDSP, and MPSS (Modem) nodes for the Xperia 10
III. It configures the respective firmware names and updates the status of
these nodes to okay.

> diff --git a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
> --- a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts

[ ... ]

> @@ -321,6 +333,13 @@ touchscreen@48 {
>  	};
>  };
>  
> +&mpss {
> +	firmware-name = "qcom/sm6350/sony/pdx213/modem.mbn";
> +	reg = <0x0 0x04080000 0x0 0x100>;

[Severity: Low]
Is this reg property artificially truncating the mpss node's MMIO region?

The reg size here is 0x100 (256 bytes), whereas the standard on-SoC mpss
node usually has a size of 0x10000 (64KB). Since the device tree describes
hardware that does not shrink across boards, could truncating this size
cause an out-of-bounds access or page fault if a future or downstream driver
attempts to ioremap and read beyond the first 256 bytes?

> +
> +	status = "okay";
> +};
> +
>  &pm6150l_flash {
>  	status = "okay";
>

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu?part=3

  reply	other threads:[~2026-09-26 10:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-26 10:20 [PATCH 0/8] Enable more nodes for the Xperia 10 III erebion
2026-09-26 10:20 ` [PATCH 1/8] arm64: dts: qcom: sm6350-lena: Add flash LED erebion
2026-09-26 10:28   ` sashiko-bot
2026-09-26 10:20 ` [PATCH 2/8] arm64: dts: qcom: sm6350-lena: Add qcom,rmtfs-mem node erebion
2026-09-26 10:20 ` [PATCH 3/8] arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP & MPSS erebion
2026-09-26 10:31   ` sashiko-bot [this message]
2026-09-26 10:20 ` [PATCH 4/8] arm64: dts: qcom: sm6350-lena: Enable IPA erebion
2026-09-26 10:20 ` [PATCH 5/8] arm64: dts: qcom: sm6350-lena: Enable Bluetooth erebion
2026-09-26 10:33   ` sashiko-bot
2026-09-26 10:20 ` [PATCH 6/8] arm64: dts: qcom: sm6350-lena: Enable wifi erebion
2026-09-26 10:20 ` [PATCH 7/8] arm64: dts: qcom: sm6350-lena: Enable PM7250B erebion
2026-09-26 10:20 ` [PATCH 8/8] arm64: dts: qcom: sm6350-lena: Enable PMK8350 erebion
2026-09-26 10:30   ` 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=20260926103122.8A14E1F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=erebion@erebion.eu \
    --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