[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <878qikp7p7.fsf@BLaptop.bootlin.com>
Date: Fri, 12 Sep 2025 07:21:08 +0200
From: Gregory CLEMENT <gregory.clement@...tlin.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>, Andrew Lunn
<andrew@...n.ch>, Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: Re: [PATCH 1/2] arm64: dts: marvell: armada-37xx: Add default PCI
interrup controller address cells
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org> writes:
> Add missing address-cells 0 to the PCI interrupt node to silence W=1
> warning:
>
> armada-37xx.dtsi:518.4-521.29: Warning (interrupt_map): /soc/pcie@...70000:interrupt-map:
> Missing property '#address-cells' in node /soc/pcie@...70000/interrupt-controller, using 0 as fallback
>
> Value '0' is correct because:
> 1. GIC interrupt controller does not have children,
> 2. interrupt-map property (in PCI node) consists of five components and
> the fourth component "parent unit address", which size is defined by
> '#address-cells' of the node pointed to by the interrupt-parent
> component, is not used (=0)
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Applied on mvebu/dt64
Thanks,
Gregory
> ---
> arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> index 75b0fdc3efb2..c612317043ea 100644
> --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> @@ -524,6 +524,7 @@ pcie0: pcie@...70000 {
> pcie_intc: interrupt-controller {
> interrupt-controller;
> #interrupt-cells = <1>;
> + #address-cells = <0>;
> };
> };
> };
> --
> 2.48.1
>
--
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists