public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
From: Herve Codina <herve.codina@bootlin.com>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	Rob Herring <robh@kernel.org>,
	linux-kernel@vger.kernel.org, linux-next@vger.kernel.org,
	Arnd Bergmann  <arnd@arndb.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH v2] misc: Silence warning when building the LAN966x device tree overlay
Date: Sat, 26 Oct 2024 13:34:47 +0200	[thread overview]
Message-ID: <20241026133447.26df7466@bootlin.com> (raw)
In-Reply-To: <20241025192117.0cf20075@bootlin.com>

Hi Philipp,

On Fri, 25 Oct 2024 19:21:17 +0200
Herve Codina <herve.codina@bootlin.com> wrote:

> On Fri, 25 Oct 2024 18:53:46 +0200
> Philipp Zabel <p.zabel@pengutronix.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@0/__overlay__/pci-ep-bus@0/oic@e00c0120: Missing interrupt-parent
> > > 
> > > Reported-by: Stephen Rothwell <sfr@canb.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@pengutronix.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.

Thought about a way to remove the 'Missing interrupt-parent' warning
modifying the dtso. I will propose a patch on Monday.
If accepted, it will replace your patch.

Best regards,
Hervé

      reply	other threads:[~2024-10-26 11:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-25 16:17 [PATCH v2] misc: Silence warning when building the LAN966x device tree overlay Philipp Zabel
2024-10-25 16:38 ` Herve Codina
2024-10-25 16:53 ` Philipp Zabel
2024-10-25 17:21   ` Herve Codina
2024-10-26 11:34     ` Herve Codina [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241026133447.26df7466@bootlin.com \
    --to=herve.codina@bootlin.com \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=robh@kernel.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox