From: sashiko-bot@kernel.org
To: "Shawn Guo" <shengchao.guo@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 4/6] arm64: dts: qcom: Add device tree for Lemans GearVM variant
Date: Sat, 31 Oct 2026 13:31:38 +0000 [thread overview]
Message-ID: <sashiko-outbox-191976@kernel.org> (raw)
In-Reply-To: <20261031131042.1200862-5-shengchao.guo@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] arm64: dts: qcom: duplicate reserved-memory nodes in lemans-gearvm.dtsi
--
commit 2d9e6864e7af49f91d36dd5dcddab2e975bc9d47
Author: Shawn Guo <shengchao.guo@oss.qualcomm.com>
arm64: dts: qcom: Add device tree for Lemans GearVM variant
This commit adds lemans-gearvm.dtsi for the Lemans GearVM variant (SA8255P),
which manages platform resources such as clocks, interconnects, and most TLMM
settings via SCMI over a Qualcomm SMC/HVC transport. It also labels the
firmware, scm, and reserved-memory nodes in lemans.dtsi so they can be
overridden by label in lemans-gearvm.dtsi.
> diff --git a/arch/arm64/boot/dts/qcom/lemans-gearvm.dtsi b/arch/arm64/boot/dts/qcom/lemans-gearvm.dtsi
> new file mode 100644
> index 0000000000000..91c97a55f2787
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/lemans-gearvm.dtsi
> @@ -0,0 +1,3224 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> + */
> +
> +#include "lemans.dtsi"
[ ... ]
> +&reserved_memory {
[ ... ]
> + firmware_mem: firmware-region@b0000000 {
> + reg = <0x0 0xb0000000 0x0 0x800000>;
> + no-map;
> + };
[ ... ]
> + firmware_logs_mem: firmware-logs@d0040000 {
> + reg = <0x0 0xd0040000 0x0 0x10000>;
> + no-map;
> + };
> +
> + firmware_audio_mem: firmware-audio@d0050000 {
> + reg = <0x0 0xd0050000 0x0 0x4000>;
> + no-map;
> + };
> +
> + firmware_camera_mem: firmware-camera@d0054000 {
> + no-map;
> + reg = <0x0 0xd0054000 0x0 0x2000>;
> + };
> +
> + firmware_reserved_mem: firmware-reserved@d0056000 {
> + reg = <0x0 0xd0056000 0x0 0x9a000>;
> + no-map;
> + };
> +
> + firmware_quantum_test_mem: firmware-quantum-test@d00f0000 {
> + reg = <0x0 0xd00f0000 0x0 0x10000>;
> + no-map;
> + };
> +
> + tags_mem: tags@d0100000 {
> + reg = <0x0 0xd0100000 0x0 0x1200000>;
> + no-map;
> + };
> +
> + qtee_mem: qtee@d1300000 {
> + reg = <0x0 0xd1300000 0x0 0x500000>;
> + no-map;
> + };
> +
> + deepsleep_backup_mem: deepsleep-backup@d1800000 {
> + reg = <0x0 0xd1800000 0x0 0x100000>;
> + no-map;
> + };
> +
> + trusted_apps_mem: trusted-apps@d1900000 {
> + reg = <0x0 0xd1900000 0x0 0x3800000>;
> + no-map;
> + };
> +
> + tz_stat_mem: tz-stat@db100000 {
> + reg = <0x0 0xdb100000 0x0 0x100000>;
> + no-map;
> + };
> +
> + cpucp_fw_mem: cpucp-fw@db200000 {
> + reg = <0x0 0xdb200000 0x0 0x100000>;
> + no-map;
> + };
[Severity: Low]
This isn't a bug, but since lemans-gearvm.dtsi includes lemans.dtsi and
overrides &reserved_memory by label, nine child nodes that are neither deleted
nor modified in &reserved_memory are redefined here with the exact same
unit-addresses, labels, reg ranges, and no-map properties as in lemans.dtsi:
firmware_mem (firmware-region@b0000000)
firmware_logs_mem (firmware-logs@d0040000)
firmware_audio_mem (firmware-audio@d0050000)
firmware_quantum_test_mem (firmware-quantum-test@d00f0000)
tags_mem (tags@d0100000)
qtee_mem (qtee@d1300000)
deepsleep_backup_mem (deepsleep-backup@d1800000)
tz_stat_mem (tz-stat@db100000)
cpucp_fw_mem (cpucp-fw@db200000)
Could these unchanged child nodes be omitted from &reserved_memory in
lemans-gearvm.dtsi so they are inherited from lemans.dtsi like the other
unchanged reserved-memory regions?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261031131042.1200862-1-shengchao.guo@oss.qualcomm.com?part=4
next prev parent reply other threads:[~2026-10-31 13:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-31 13:10 [PATCH v3 0/6] arm64: dts: qcom: Introduce SA8255P as Lemans family SoC Shawn Guo
2026-10-31 13:10 ` [PATCH v3 1/6] arm64: dts: qcom: Introduce lemans-embedded.dtsi as a placeholder Shawn Guo
2026-10-31 13:10 ` [PATCH v3 2/6] arm64: dts: qcom: lemans: Move pinctrl states into lemans-embedded.dtsi Shawn Guo
2026-10-31 13:10 ` [PATCH v3 3/6] arm64: dts: qcom: lemans: Move platform resources " Shawn Guo
2026-10-31 13:28 ` sashiko-bot
2026-10-31 13:10 ` [PATCH v3 4/6] arm64: dts: qcom: Add device tree for Lemans GearVM variant Shawn Guo
2026-10-31 13:31 ` sashiko-bot [this message]
2026-10-31 13:10 ` [PATCH v3 5/6] dt-bindings: arm: qcom: add SA8255p Ride board Shawn Guo
2026-10-31 13:10 ` [PATCH v3 6/6] arm64: dts: qcom: lemans: Enable lemans-sa8255p-ride board support Shawn Guo
2026-10-31 13:28 ` 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=sashiko-outbox-191976@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=shengchao.guo@oss.qualcomm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox