From: Conor Dooley <conor.dooley@microchip.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: "kernel test robot" <lkp@intel.com>,
"Krzysztof Wilczyński" <kw@linux.com>,
"Heiko Stuebner" <heiko@sntech.de>,
linux-pci@vger.kernel.org,
"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
llvm@lists.linux.dev, "Minghuan Lian" <minghuan.Lian@nxp.com>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
"Bharat Kumar Gogada" <bharat.kumar.gogada@amd.com>,
"Toan Le" <toan@os.amperecomputing.com>,
linux-riscv@lists.infradead.org,
"Kishon Vijay Abraham I" <kishon@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Joyce Ooi" <joyce.ooi@intel.com>,
"Jonathan Hunter" <jonathanh@nvidia.com>,
linux-arm-kernel@lists.infradead.org,
bcm-kernel-feedback-list@broadcom.com,
"Shawn Lin" <shawn.lin@rock-chips.com>,
"Ray Jui" <rjui@broadcom.com>,
linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org,
"Mingkai Hu" <mingkai.hu@nxp.com>, "Roy Zang" <roy.zang@nxp.com>,
"Michal Simek" <monstr@monstr.eu>,
kbuild-all@lists.01.org, "Scott Branden" <sbranden@broadcom.com>,
"Daire McNamara" <daire.mcnamara@microchip.com>,
linux-kernel@vger.kernel.org, "Tom Joseph" <tjoseph@cadence.com>,
linuxppc-dev@lists.ozlabs.org, "Pali Rohár" <pali@kernel.org>
Subject: Re: [PATCH] PCI: Remove unnecessary of_irq.h includes
Date: Thu, 20 Oct 2022 14:52:48 +0100 [thread overview]
Message-ID: <Y1FSsFKKJDzzrf8C@wendy> (raw)
In-Reply-To: <20221020134547.GA94120@bhelgaas>
On Thu, Oct 20, 2022 at 08:45:47AM -0500, Bjorn Helgaas wrote:
> [+cc Pali, heads-up for trivial addition of <linux/irqdomain.h> to
> pci-mvebu.c]
>
> On Thu, Oct 20, 2022 at 08:20:25AM +0100, Conor Dooley wrote:
> > On Thu, Oct 20, 2022 at 03:08:50PM +0800, kernel test robot wrote:
> > > Hi Bjorn,
> > >
> > > I love your patch! Yet something to improve:
> > >
> > > >> drivers/pci/controller/pcie-microchip-host.c:473:31: error: incomplete definition of type 'struct irq_domain'
> > > struct mc_pcie *port = domain->host_data;
> >
> > That's what I get for only visually inspecting the patch before Acking
> > it.. Un-ack I suppose.
>
> No problem!
>
> I think what happened is the pcie-microchip-host.c uses
> irq_domain_add_linear() so it needs <linux/irqdomain.h>, but it
> currently gets it via <linux/of_irq.h>, which it doesn't otherwise
> need.
>
> I added a preparatory patch to include <linux/irqdomain.h> explicitly,
> but I haven't been able to cross-build either riscv or ia64 to verify
> this fix. I'll wait a few days and post an updated series for the
> 0-day bot to test.
I saw you saying you couldn't find the config from LKP, FWIW a build
using riscv defconfig w/ CONFIG_PCIE_MICROCHIP_HOST=y fails for me
in the same way as lkp reports.
Otherwise, dump the patch in response to this and I'll give it a shot
later if you like?
HTH,
Conor.
>
> Same situation for pcie-altera-msi.c.
>
> pci-mvebu.c also relies on getting <linux/irqdomain.h> via
> <linux/of_irq.h>, but it actually depends on of_irq.h, so I'll just
> add an irqdomain.h include there.
>
> Bjorn
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-10-20 14:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Y1D2ubkwXqwx9LWD@wendy>
2022-10-20 13:45 ` [PATCH] PCI: Remove unnecessary of_irq.h includes Bjorn Helgaas
2022-10-20 13:52 ` Conor Dooley [this message]
2022-10-20 17:17 ` Pali Rohár
[not found] <202210202204.u22wJti3-lkp@intel.com>
2022-10-20 15:07 ` Bjorn Helgaas
[not found] <202210201618.NsgGYbMI-lkp@intel.com>
2022-10-20 13:41 ` Bjorn Helgaas
2022-10-20 15:04 ` Bjorn Helgaas
2022-10-19 19:54 Bjorn Helgaas
2022-10-19 20:11 ` Conor Dooley
2022-10-19 20:27 ` Roy Zang
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=Y1FSsFKKJDzzrf8C@wendy \
--to=conor.dooley@microchip.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=bharat.kumar.gogada@amd.com \
--cc=daire.mcnamara@microchip.com \
--cc=heiko@sntech.de \
--cc=helgaas@kernel.org \
--cc=jonathanh@nvidia.com \
--cc=joyce.ooi@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=kishon@kernel.org \
--cc=kw@linux.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=lpieralisi@kernel.org \
--cc=minghuan.Lian@nxp.com \
--cc=mingkai.hu@nxp.com \
--cc=monstr@monstr.eu \
--cc=pali@kernel.org \
--cc=rjui@broadcom.com \
--cc=robh@kernel.org \
--cc=roy.zang@nxp.com \
--cc=sbranden@broadcom.com \
--cc=shawn.lin@rock-chips.com \
--cc=thierry.reding@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=tjoseph@cadence.com \
--cc=toan@os.amperecomputing.com \
/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;
as well as URLs for NNTP newsgroup(s).