Re: [PATCH] MIPS: Loongson64: DTS: Really fix PCIe port nodes for ls7a

From: Thomas Bogendoerfer
Date: Sat Nov 23 2024 - 06:04:58 EST


On Sat, Nov 23, 2024 at 11:57:37AM +0800, Xi Ruoyao wrote:
> Fix the dtc warnings:
>
> arch/mips/boot/dts/loongson/ls7a-pch.dtsi:68.16-416.5: Warning (interrupt_provider): /bus@10000000/pci@1a000000: '#interrupt-cells' found, but node is not an interrupt provider
> arch/mips/boot/dts/loongson/ls7a-pch.dtsi:68.16-416.5: Warning (interrupt_provider): /bus@10000000/pci@1a000000: '#interrupt-cells' found, but node is not an interrupt provider
> arch/mips/boot/dts/loongson/loongson64g_4core_ls7a.dtb: Warning (interrupt_map): Failed prerequisite 'interrupt_provider'
>
> And a runtime warning introduced in commit 045b14ca5c36 ("of: WARN on
> deprecated #address-cells/#size-cells handling"):
>
> WARNING: CPU: 0 PID: 1 at drivers/of/base.c:106 of_bus_n_addr_cells+0x9c/0xe0
> Missing '#address-cells' in /bus@10000000/pci@1a000000/pci_bridge@9,0
>
> The fix is similar to commit d89a415ff8d5 ("MIPS: Loongson64: DTS: Fix PCIe
> port nodes for ls7a"), which has fixed the issue for ls2k (despite its
> subject mentions ls7a).
>
> Signed-off-by: Xi Ruoyao <xry111@xxxxxxxxxxx>
> ---
> arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 73 +++++++++++++++++++----
> 1 file changed, 60 insertions(+), 13 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]