From: sashiko-bot@kernel.org
To: "Nicolai Buchwitz" <nb@tipi-net.de>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 3/3] arm64: dts: broadcom: bcm2712: Expose all 20 MIP1 outputs
Date: Fri, 04 Dec 2026 21:32:33 +0000 [thread overview]
Message-ID: <sashiko-outbox-250699@kernel.org> (raw)
In-Reply-To: <20261204-nb-bcm2712-mip-msi-ranges-v2-3-d3f31e52429d@tipi-net.de>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: broadcom: mip1 change shrinks to 2 MSIs without
driver support
--
commit fb712888022541177b7371963cac812112fd0969
Author: Nicolai Buchwitz <nb@tipi-net.de>
arm64: dts: broadcom: bcm2712: Expose all 20 MIP1 outputs
This commit replaces the single 8-SPI msi-ranges entry and brcm,msi-offset
property on mip1 with ten msi-ranges entries covering all 20 wired MIP1
outputs.
> diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
> index edae2f3584a8d..dcbd1e6740420 100644
> --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
> +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
> @@ -690,8 +690,17 @@ mip1: msi-controller@1000131000 {
> reg = <0x10 0x00131000 0x00 0xc0>,
> <0xff 0xfffff000 0x00 0x1000>;
> msi-controller;
> - msi-ranges = <&gicv2 GIC_SPI 247 IRQ_TYPE_EDGE_RISING 8>;
> - brcm,msi-offset = <8>;
> + /* In MIP output order, the SPIs are not contiguous */
> + msi-ranges = <&gicv2 GIC_SPI 196 IRQ_TYPE_EDGE_RISING 2>,
> + <&gicv2 GIC_SPI 200 IRQ_TYPE_EDGE_RISING 2>,
> + <&gicv2 GIC_SPI 206 IRQ_TYPE_EDGE_RISING 2>,
> + <&gicv2 GIC_SPI 240 IRQ_TYPE_EDGE_RISING 1>,
> + <&gicv2 GIC_SPI 246 IRQ_TYPE_EDGE_RISING 1>,
> + <&gicv2 GIC_SPI 255 IRQ_TYPE_EDGE_RISING 8>,
> + <&gicv2 GIC_SPI 275 IRQ_TYPE_EDGE_RISING 1>,
> + <&gicv2 GIC_SPI 282 IRQ_TYPE_EDGE_RISING 1>,
> + <&gicv2 GIC_SPI 263 IRQ_TYPE_EDGE_RISING 1>,
> + <&gicv2 GIC_SPI 283 IRQ_TYPE_EDGE_RISING 1>;
> };
[Severity: Medium]
Can this silently shrink pcie1 from 8 MSI-X vectors down to 2 on kernels
without commit "irqchip/bcm2712-mip: Support multiple MSI ranges"?
Without that driver change, mip_parse_dt() in
drivers/irqchip/irq-bcm2712-mip.c defaults msi_offset to 0, parses only
index 0 of msi-ranges, and silently ignores the remaining nine entries.
Because the first tuple now has a span of 2, mip1 probes with num_msis = 2.
Once the root port claims a vector, at most one vector remains for an
endpoint, regressing existing PCIe setups on Pi 5 and CM5.
Since DTS patches merge separately from irqchip patches, this hits if the DT
branch lands ahead of the driver or when an older kernel boots with a new
DTB.
Per Documentation/process/maintainer-soc.rst, incompatible DTS changes
should wait until the companion driver is merged, and the commit message
should note the driver dependency and compatibility impact.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-nb-bcm2712-mip-msi-ranges-v2-0-d3f31e52429d@tipi-net.de?part=3
prev parent reply other threads:[~2026-12-04 21:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 21:18 [PATCH v2 0/3] irqchip/bcm2712-mip: Expose all 20 MIP1 outputs Nicolai Buchwitz
2026-12-04 21:18 ` [PATCH v2 1/3] dt-bindings: interrupt-controller: brcm,bcm2712-msix: Allow multiple ranges Nicolai Buchwitz
2026-12-04 21:18 ` [PATCH v2 2/3] irqchip/bcm2712-mip: Support multiple MSI ranges Nicolai Buchwitz
2026-12-04 21:18 ` [PATCH v2 3/3] arm64: dts: broadcom: bcm2712: Expose all 20 MIP1 outputs Nicolai Buchwitz
2026-12-04 21:32 ` 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=sashiko-outbox-250699@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=nb@tipi-net.de \
--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