Hi all, On Fri, 25 Oct 2024 11:09:19 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote: > Hi all, > > After merging the reset tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/misc/lan966x_pci.dtso:34.23-40.7: Warning (interrupts_property): /fragment@0/__overlay__/pci-ep-bus@0/oic@e00c0120: Missing interrupt-parent > > Introduced by commit > > 185686beb464 ("misc: Add support for LAN966x PCI device") > This warning is normal. interrupt-parent is not present in the oic node. This was discussed in https://lore.kernel.org/all/CAL_Jsq+je7+9ATR=B6jXHjEJHjn24vQFs4Tvi9=vhDeK9n42Aw@xxxxxxxxxxxxxx/ interrupt-parent is not mandatory for a node and if interrupt-parent is not present, the interrupt parent resolution code will look at the parent node recursively until an interrupt-parent or an interrupt controller is found. https://elixir.bootlin.com/linux/v6.12-rc1/source/drivers/of/irq.c#L56 In the LAN966x PCI case, this goes up to the PCI device which is itself an interrupt controller. This interrupt controller is not described in the dtso because it is the node where the dtso is applied. The LAN966x PCI device DT node has the #interrupt-cells and the interrupt-controller properties. This build at runtime: https://elixir.bootlin.com/linux/v6.12-rc1/source/drivers/pci/of_property.c#L186 Best regards, Hervé -- Hervé Codina, Bootlin Embedded Linux and Kernel engineering https://bootlin.com