[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241025192117.0cf20075@bootlin.com>
Date: Fri, 25 Oct 2024 19:21:17 +0200
From: Herve Codina <herve.codina@...tlin.com>
To: Philipp Zabel <p.zabel@...gutronix.de>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>, Rob Herring <robh@...nel.org>,
linux-kernel@...r.kernel.org, linux-next@...r.kernel.org, Arnd Bergmann
<arnd@...db.de>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH v2] misc: Silence warning when building the LAN966x
device tree overlay
On Fri, 25 Oct 2024 18:53:46 +0200
Philipp Zabel <p.zabel@...gutronix.de> wrote:
> On Fr, 2024-10-25 at 18:17 +0200, Philipp Zabel wrote:
> > Silence the following warning when building the LAN966x device tree overlay:
> >
> > drivers/misc/lan966x_pci.dtso:34.23-40.7: Warning (interrupts_property): /fragment@..._overlay__/pci-ep-bus@...ic@...c0120: Missing interrupt-parent
> >
> > Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
> > Link: https://lore.kernel.org/all/20241025110919.64b1cffb@canb.auug.org.au/
> > Fixes: 185686beb464 ("misc: Add support for LAN966x PCI device")
> > Signed-off-by: Philipp Zabel <p.zabel@...gutronix.de>
> > ---
> > The referenced commit is in the reset tree.
> > Changes in v2:
> > - Do not handle W=1 warnings.
> > - Link to v1: https://lore.kernel.org/all/20241025145353.1620806-1-p.zabel@pengutronix.de/
> > ---
> > drivers/misc/Makefile | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
> > index 885b22989580..196fb730817e 100644
> > --- a/drivers/misc/Makefile
> > +++ b/drivers/misc/Makefile
> > @@ -72,6 +72,7 @@ obj-$(CONFIG_TPS6594_PFSM) += tps6594-pfsm.o
> > obj-$(CONFIG_NSM) += nsm.o
> > obj-$(CONFIG_MARVELL_CN10K_DPI) += mrvl_cn10k_dpi.o
> > lan966x-pci-objs := lan966x_pci.o
> > +DTC_FLAGS_lan966x_pci := -Wno-interrupts_property
> > lan966x-pci-objs += lan966x_pci.dtbo.o
> > obj-$(CONFIG_MCHP_LAN966X_PCI) += lan966x-pci.o
> > obj-y += keba/
>
> Applied to reset/next to silence the warning until lan966x_pci.dtso is
> fixed:
This warning 'Missing interrupt-parent' cannot be solved in dtso.
I cannot reference the interrupt controller (PCI device node itself) which
is outside the dtso. This PCI device node is the node on which the dtso
is applied.
I think the patch you did is the correct one for this warning.
Related to other warnings mentionned in v1:
Warning (simple_bus_reg): /fragment@..._overlay__/pci-ep-bus@...pu_clk: missing or empty reg/ranges property
Warning (simple_bus_reg): /fragment@..._overlay__/pci-ep-bus@...dr_clk: missing or empty reg/ranges property
Warning (simple_bus_reg): /fragment@..._overlay__/pci-ep-bus@...ys_clk: missing or empty reg/ranges property
I will update the dtso and send the related patch.
Best regards,
Hervé
>
> [1/1] misc: Silence warning when building the LAN966x device tree overlay
> https://git.pengutronix.de/cgit/pza/linux/commit/?id=68152eff5240
>
> regards
> Philipp
Powered by blists - more mailing lists