On Fri, Oct 25, 2024 at 1:28 AM Herve Codina <herve.codina@xxxxxxxxxxx> wrote: > > 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/ We can't have warnings especially in things outside of arch/. Doesn't matter why. The choices to fix are: - Override DTC_FLAGS in drivers/misc/. You can set DTC_FLAGS_lan966x_pci - Disable the check in dtc for overlays. We've done this for other cases. - Add enough info into the overlay to avoid the warnings. This might mean the overlay has to be applied up one node level. It is duplicating a few things which are in the base tree. This is my preference because it makes the overlay stand on its own. We'll have the same issue with dtschema checks too if we don't do this. Rob