lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y1FSsFKKJDzzrf8C@wendy>
Date:   Thu, 20 Oct 2022 14:52:48 +0100
From:   Conor Dooley <conor.dooley@...rochip.com>
To:     Bjorn Helgaas <helgaas@...nel.org>
CC:     kernel test robot <lkp@...el.com>,
        Krzysztof Wilczyński <kw@...ux.com>,
        Heiko Stuebner <heiko@...ech.de>, <linux-pci@...r.kernel.org>,
        Lorenzo Pieralisi <lpieralisi@...nel.org>,
        <llvm@...ts.linux.dev>, Minghuan Lian <minghuan.Lian@....com>,
        Thierry Reding <thierry.reding@...il.com>,
        Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
        Bharat Kumar Gogada <bharat.kumar.gogada@....com>,
        Toan Le <toan@...amperecomputing.com>,
        <linux-riscv@...ts.infradead.org>,
        "Kishon Vijay Abraham I" <kishon@...nel.org>,
        Rob Herring <robh@...nel.org>,
        "Linus Walleij" <linus.walleij@...aro.org>,
        Joyce Ooi <joyce.ooi@...el.com>,
        "Jonathan Hunter" <jonathanh@...dia.com>,
        <linux-arm-kernel@...ts.infradead.org>,
        <bcm-kernel-feedback-list@...adcom.com>,
        Shawn Lin <shawn.lin@...k-chips.com>,
        Ray Jui <rjui@...adcom.com>, <linux-tegra@...r.kernel.org>,
        <linux-omap@...r.kernel.org>, Mingkai Hu <mingkai.hu@....com>,
        Roy Zang <roy.zang@....com>, Michal Simek <monstr@...str.eu>,
        <kbuild-all@...ts.01.org>, Scott Branden <sbranden@...adcom.com>,
        Daire McNamara <daire.mcnamara@...rochip.com>,
        <linux-kernel@...r.kernel.org>, Tom Joseph <tjoseph@...ence.com>,
        <linuxppc-dev@...ts.ozlabs.org>,
        Pali Rohár <pali@...nel.org>
Subject: Re: [PATCH] PCI: Remove unnecessary of_irq.h includes

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
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ