From: sashiko-bot@kernel.org
To: "Wei Deng" <wei.deng@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v4 1/2] arm64: dts: qcom: monaco: Add compatible to the PCIe Root Port
Date: Mon, 14 Sep 2026 09:25:49 +0000 [thread overview]
Message-ID: <20260914092549.EA2A01F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260914-b4-monaco-evk-m2-v1-v4-1-dab83b048d03@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The patch introduces an inconsistency in the SoC device tree by adding the `compatible = "pciclass,0604";` string only to `pcieport0` and omitting it for the identical secondary root port `pcieport1`.
--
commit af4d1e90e3b54337cb2c17a523874c97e4e2e7af
Author: Wei Deng <wei.deng@oss.qualcomm.com>
arm64: dts: qcom: monaco: Add compatible to the PCIe Root Port
This commit adds the compatible string pciclass,0604 to the pcieport0 node in
monaco.dtsi. This allows the PCI subsystem to associate the DT node with the
PCI-to-PCI bridge device, enabling downstream DT nodes to be matched to PCI
devices.
> diff --git a/arch/arm64/boot/dts/qcom/monaco.dtsi b/arch/arm64/boot/dts/qcom/monaco.dtsi
> index cfe39f923224f..e18b3ed54cd9e 100644
> --- a/arch/arm64/boot/dts/qcom/monaco.dtsi
> +++ b/arch/arm64/boot/dts/qcom/monaco.dtsi
> @@ -2394,6 +2394,7 @@ opp-32000000 {
> };
>
> pcieport0: pcie@0 {
> + compatible = "pciclass,0604";
[Severity: Medium]
Should this compatible string also be added to pcieport1?
Looking at the device tree in arch/arm64/boot/dts/qcom/monaco.dtsi, there is an
identical secondary root port that misses this update:
pcieport1: pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
If a board design utilizes pcieport1 and adds a downstream endpoint, wouldn't it
fail to associate the DT node with the PCI-to-PCI bridge device in the same way?
> device_type = "pci";
> reg = <0x0 0x0 0x0 0x0 0x0>;
> bus-range = <0x01 0xff>;
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260914-b4-monaco-evk-m2-v1-v4-0-dab83b048d03@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-09-14 9:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-14 9:19 [PATCH v4 0/2] arm64: dts: qcom: Describe the PCIe M.2 Key E connector for Monaco EVK Wei Deng
2026-09-14 9:19 ` [PATCH v4 1/2] arm64: dts: qcom: monaco: Add compatible to the PCIe Root Port Wei Deng
2026-09-14 9:25 ` sashiko-bot [this message]
2026-09-14 9:19 ` [PATCH v4 2/2] arm64: dts: qcom: monaco-evk: Describe the PCIe M.2 Key E connector Wei Deng
2026-09-29 3:15 ` [PATCH v4 0/2] arm64: dts: qcom: Describe the PCIe M.2 Key E connector for Monaco EVK Bjorn Andersson
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=20260914092549.EA2A01F000FF@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=wei.deng@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 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.