Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1527276

RE: [PATCH V5 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

From Gabriele Paoloni <gabriele.paoloni@huawei.com>
Newsgroups linux.kernel
Subject RE: [PATCH V5 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers
Date 2016-11-22 08:50 +0100
Message-ID <sGe01-4cE-1@gated-at.bofh.it> (permalink)
References <sENlg-55B-13@gated-at.bofh.it> <sENlg-55B-11@gated-at.bofh.it> <sEUPM-1xM-35@gated-at.bofh.it> <sFSVA-7Iz-11@gated-at.bofh.it> <sG5pM-7dy-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> -----Original Message-----
> From: Bjorn Helgaas [mailto:helgaas@kernel.org]
> Sent: 21 November 2016 22:32
> To: Gabriele Paoloni
> Cc: liudongdong (C); arnd@arndb.de; rafael@kernel.org;
> Lorenzo.Pieralisi@arm.com; tn@semihalf.com; Wangzhou (B);
> pratyush.anand@gmail.com; linux-pci@vger.kernel.org; linux-
> acpi@vger.kernel.org; linux-kernel@vger.kernel.org; jcm@redhat.com;
> Chenxin (Charles); hanjun.guo@linaro.org; Linuxarm
> Subject: Re: [PATCH V5 2/2] PCI/ACPI: hisi: Add ACPI support for
> HiSilicon SoCs Host Controllers
> 
> On Mon, Nov 21, 2016 at 09:09:28AM +0000, Gabriele Paoloni wrote:
> 
> > > > +config PCI_HISI_ACPI
> > > > +	depends on ACPI && ARM64
> > > > +	bool "HiSilicon Hip05 and Hip06 and Hip07 SoCs ACPI PCIe
> > > controllers"
> > > > +	select PNP
> > > > +	help
> > > > +	  Say Y here if you want ACPI PCIe controller support on
> > > HiSilicon
> > > > +	  Hip05 and Hip06 and Hip07 SoCs
> > >
> > > I'm not sure about this Kconfig setup.  Do we really want to force
> > > people to enable a special config option to get this support?
> > >
> > > I'm comparing it in my mind with other PCI quirks.  They're all
> > > enabled as a group by CONFIG_PCI_QUIRKS.  Ultimately we want an
> ACPI
> > > kernel to work without requiring any platform-specific config
> options.
> > >
> > > I'm wondering if we should consolidate all the ECAM quirk code in a
> > > single place (maybe pci/ecam-quirks.c, pci/ecam.c, or pci/pci-
> acpi.c),
> > > under a config option like CONFIG_PCI_ECAM_QUIRKS or maybe even
> plain
> > > CONFIG_PCI_QUIRKS (of course, it could still be qualified by
> > > CONFIG_ACPI and CONFIG_ARM64).
> >
> > What about having a single config options but keeping separate files
> > for each vendors (at least as first step)?
> 
> That sounds fine.  The main thing is that we're trying to build a
> generic kernel that can run on any ACPI arm64 platform, so we really
> shouldn't have to turn on platform-specific config options.

Ok great we'll do so then

Thanks

Gab

> 
> > Maybe if we see that we can consolidate all the vendors in one file
> > we can do it as a second step...

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH V5 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers Dongdong Liu <liudongdong3@huawei.com> - 2016-11-18 10:10 +0100
  Re: [PATCH V5 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon  SoCs Host Controllers Bjorn Helgaas <helgaas@kernel.org> - 2016-11-18 18:10 +0100
    RE: [PATCH V5 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon  SoCs Host Controllers Gabriele Paoloni <gabriele.paoloni@huawei.com> - 2016-11-21 10:20 +0100
      Re: [PATCH V5 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon  SoCs Host Controllers Bjorn Helgaas <helgaas@kernel.org> - 2016-11-21 23:40 +0100
        RE: [PATCH V5 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon  SoCs Host Controllers Gabriele Paoloni <gabriele.paoloni@huawei.com> - 2016-11-22 08:50 +0100

csiph-web