From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796419954; b=nH6CalNGEg1LIcpIVzshQ6BXEfOQEnrIn2qkeg0OPvIr9cUy7Zj+/EuwgiJucNntkHUu 0aK+7gsB3YAsNEX0ly0uv8lKYwFRl+3bfBxQvlWkPnIplmG80bIhfSnZYJtajL8/mqX4h SI1j9iRyPs8ZYvqYZnJoYG+aAnlivtxKNJu3xtFyjfI7DpxNAoTRg6MZL76uRTnIbIIan YO+f1P/O5Q0JpiKmiyI+1UM3MMn//6jvTXtAbTlwj3NVowzYjD+tZ/7pPfmMvKcS5rOwJ SdleJvIOJlrpzMzTbOy0JS6csc9vXUvb30nvPaZoZPKgHU7xdzA7FxNmZEAjZRT9u+A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796419954; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=k5vkGX0UU7xzJv8X3j2zjKWuTUMLtYsx/hlW+9hyz4A=; b=tNKBgsl6t3ci3V71ngMgldPrCrTHfET3K7LpeOOxY5aa/0Y64s0vbCHa8X/ExI7+tI2L vYkEyLDD0gq6/ZgpdnchlRqHNFjIDxB1VOL1Eo376BxuqgkWFdOn7Ip29ystvHFg+JfIw TdnPutcKrAwEtvYJFbMD9q1D3cQ5IL/n2OD4kXbK+6/w2hBK7CQeDM+cl5G38Zx6/cfZq tFSxG+gdhvwKICLZB028XH78tKjMm253fk8HId9MfMEamRoUjjtCx2nCRcTpuNEWIhESc ON7vajdVO9OSJ5ttcbDsXyGG+T0flwCk7oW9FuYM8Pth51xIPyAkTeTOGMiqDmIcvAw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=LDamtwD1; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0BCEF606A322 for ; Fri, 4 Dec 2026 21:32:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=LDamtwD1 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD2851F00936; Fri, 4 Dec 2026 21:32:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796419953; bh=k5vkGX0UU7xzJv8X3j2zjKWuTUMLtYsx/hlW+9hyz4A=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=LDamtwD1ntaU82z6vd7ugTinSH+HRAwm89Mhylvk0+/kolSejIGvuql+LCHfMHhNp jt4BS2SoO3b+gk8NLYcUMoM6l5Y7EyduVAv5VaJqBGBiT3Y2jhfjGpKtp/2GgHGx+6 PqIdDiRPUkdbqFOnE8omllWsech7pXmMuxL7ZD7oTxETpd0TAJmiqMBanDcDj0BwA4 XLEUXiv4+h2GFdwDg+pcD0TYMukxti9SydKB5azS3GayGERT7TXG4jJJq6welLDwN5 +kn+eMsExrrqKTOpzZw4t0+qEv9VWOeE6fq8ZTiIsCn4OMwmtx6qXmFY5G8DNV2QXb v6DTUzTojy5iw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 3/3] arm64: dts: broadcom: bcm2712: Expose all 20 MIP1 outputs Reply-To: sashiko-reviews@lists.linux.dev To: "Nicolai Buchwitz" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261204-nb-bcm2712-mip-msi-ranges-v2-3-d3f31e52429d@tipi-net.de> References: <20261204-nb-bcm2712-mip-msi-ranges-v2-0-d3f31e52429d@tipi-net.de> <20261204-nb-bcm2712-mip-msi-ranges-v2-3-d3f31e52429d@tipi-net.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 21:32:33 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 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 =3D <0x10 0x00131000 0x00 0xc0>, > <0xff 0xfffff000 0x00 0x1000>; > msi-controller; > - msi-ranges =3D <&gicv2 GIC_SPI 247 IRQ_TYPE_EDGE_RISING 8>; > - brcm,msi-offset =3D <8>; > + /* In MIP output order, the SPIs are not contiguous */ > + msi-ranges =3D <&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 =3D = 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. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-nb-bcm2712= -mip-msi-ranges-v2-0-d3f31e52429d@tipi-net.de?part=3D3