RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-03-15 Thread Gabriele Paoloni
gt; > (B); liudongdong (C); Linuxarm; qiujiang; 'bhelg...@google.com'; > > > 'a...@arndb.de'; 't...@semihalf.com'; 'linux-...@vger.kernel.org'; > > > 'linux-kernel@vger.kernel.org'; xuwei (O); 'linux- > > > a...@vger.ke

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-03-14 Thread Bjorn Helgaas
uwei (O); 'linux- > > a...@vger.kernel.org'; 'j...@redhat.com'; zhangjukuo; Liguozhu > > (Kenneth); 'linux-arm-ker...@lists.infradead.org' > > Subject: Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for > > HiSilicon SoCs Host Controlle

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-03-08 Thread Gabriele Paoloni
'bhelg...@google.com'; > 'a...@arndb.de'; 't...@semihalf.com'; 'linux-...@vger.kernel.org'; > 'linux-kernel@vger.kernel.org'; xuwei (O); 'linux- > a...@vger.kernel.org'; 'j...@redhat.com'; zhangjukuo; Liguozhu > (Kenne

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-03-03 Thread Gabriele Paoloni
ngjukuo; Liguozhu > (Kenneth); 'linux-arm-ker...@lists.infradead.org' > Subject: Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for > HiSilicon SoCs Host Controllers > > > > > > > I think the relevant spec is the PCI Firmware Spec, r3.0, sec > >

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-03-02 Thread Bjorn Helgaas
On Tue, Mar 01, 2016 at 07:22:47PM +, Lorenzo Pieralisi wrote: > Hi Bjorn, > > On Thu, Feb 25, 2016 at 01:59:12PM -0600, Bjorn Helgaas wrote: > > On Thu, Feb 25, 2016 at 12:07:50PM +, Lorenzo Pieralisi wrote: > > > On Thu, Feb 25, 2016 at 03:01:19AM +, Gabriele Paoloni wrote: > > [...

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-03-02 Thread Bjorn Helgaas
On Thu, Feb 25, 2016 at 10:24:34PM +0100, Rafael J. Wysocki wrote: > On Thursday, February 25, 2016 01:59:12 PM Bjorn Helgaas wrote: > > On Thu, Feb 25, 2016 at 12:07:50PM +, Lorenzo Pieralisi wrote: > > > On Thu, Feb 25, 2016 at 03:01:19AM +, Gabriele Paoloni wrote: > > > > > > [...] > >

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-03-01 Thread Lorenzo Pieralisi
Hi Bjorn, On Thu, Feb 25, 2016 at 01:59:12PM -0600, Bjorn Helgaas wrote: > On Thu, Feb 25, 2016 at 12:07:50PM +, Lorenzo Pieralisi wrote: > > On Thu, Feb 25, 2016 at 03:01:19AM +, Gabriele Paoloni wrote: [...] > > I do not understand how PNP0c02 works, currently, by the way. > > > > If

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-29 Thread Lorenzo Pieralisi
> > > > > I think the relevant spec is the PCI Firmware Spec, r3.0, sec > > 4.1.2. > > > > > Note 2 in that section says the address range of an MMCFG region > > > > > must be reserved by declaring a motherboard resource, i.e., > > included > > > > > in the _CRS of a PNP0C02 or similar device. > >

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-27 Thread Gabriele Paoloni
O); 'linux- > a...@vger.kernel.org'; 'j...@redhat.com'; zhangjukuo; Liguozhu > (Kenneth); 'linux-arm-ker...@lists.infradead.org' > Subject: Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for > HiSilicon SoCs Host Controllers > >

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-25 Thread Rafael J. Wysocki
On Thursday, February 25, 2016 01:59:12 PM Bjorn Helgaas wrote: > On Thu, Feb 25, 2016 at 12:07:50PM +, Lorenzo Pieralisi wrote: > > On Thu, Feb 25, 2016 at 03:01:19AM +, Gabriele Paoloni wrote: > > > > [...] > > > > > > I think the relevant spec is the PCI Firmware Spec, r3.0, sec 4.1.2.

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-25 Thread Bjorn Helgaas
On Thu, Feb 25, 2016 at 12:07:50PM +, Lorenzo Pieralisi wrote: > On Thu, Feb 25, 2016 at 03:01:19AM +, Gabriele Paoloni wrote: > > [...] > > > > I think the relevant spec is the PCI Firmware Spec, r3.0, sec 4.1.2. > > > Note 2 in that section says the address range of an MMCFG region > >

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-25 Thread Lorenzo Pieralisi
On Thu, Feb 25, 2016 at 03:01:19AM +, Gabriele Paoloni wrote: [...] > > I think the relevant spec is the PCI Firmware Spec, r3.0, sec 4.1.2. > > Note 2 in that section says the address range of an MMCFG region > > must be reserved by declaring a motherboard resource, i.e., included > > in the

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-24 Thread Gabriele Paoloni
; liudongdong > > > (C); Linuxarm; qiujiang; 'bhelg...@google.com'; 'a...@arndb.de'; > > > 'lorenzo.pieral...@arm.com'; 't...@semihalf.com'; 'linux- > > > p...@vger.kernel.org'; 'linux-kernel@vger.kernel.org'; xuwei (

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-24 Thread Bjorn Helgaas
'linux-kernel@vger.kernel.org'; xuwei (O); > > 'linux-a...@vger.kernel.org'; 'j...@redhat.com'; zhangjukuo; Liguozhu > > (Kenneth); 'linux-arm-ker...@lists.infradead.org' > > Subject: Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI suppo

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-23 Thread Gabriele Paoloni
pieral...@arm.com; > > > t...@semihalf.com; linux-...@vger.kernel.org; linux- > > > ker...@vger.kernel.org; xuwei (O); linux-a...@vger.kernel.org; > > > j...@redhat.com; zhangjukuo; Liguozhu (Kenneth); linux-arm- > > > ker...@lists.infradead.org > > > Subjec

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-23 Thread Bjorn Helgaas
@semihalf.com; linux-...@vger.kernel.org; > > > linux-kernel@vger.kernel.org; xuwei (O); linux-a...@vger.kernel.org; > > > j...@redhat.com; zhangjukuo; Liguozhu (Kenneth); linux-arm- > > > ker...@lists.infradead.org > > > Subject: Re: [RFC PATCH v3 3/3] PCI/ACPI: hi

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-22 Thread Gabriele Paoloni
.@semihalf.com; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; xuwei (O); linux-a...@vger.kernel.org; > j...@redhat.com; zhangjukuo; Liguozhu (Kenneth); linux-arm- > ker...@lists.infradead.org > Subject: RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for > HiSilicon SoCs H

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-10 Thread Gabriele Paoloni
ect: Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for > HiSilicon SoCs Host Controllers > > On Wed, Feb 10, 2016 at 09:52:36AM +, Gabriele Paoloni wrote: > > Hi Mark > > > > > On Tue, Feb 09, 2016 at 05:34:20PM +, Gabriele Paoloni wrote: > >

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-10 Thread Mark Rutland
On Wed, Feb 10, 2016 at 09:52:36AM +, Gabriele Paoloni wrote: > Hi Mark > > > On Tue, Feb 09, 2016 at 05:34:20PM +, Gabriele Paoloni wrote: > > > From: gabriele paoloni > > > +/* > > > + * Retrieve rc_dbi base and size from _DSD > > > + * Name (_DSD, Package () { > > > + * ToUUID("d

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-10 Thread Gabriele Paoloni
.pieral...@arm.com; t...@semihalf.com; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; xuwei (O); linux-a...@vger.kernel.org; > j...@redhat.com; zhangjukuo; Liguozhu (Kenneth); linux-arm- > ker...@lists.infradead.org > Subject: Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-09 Thread Mark Rutland
On Tue, Feb 09, 2016 at 05:34:20PM +, Gabriele Paoloni wrote: > From: gabriele paoloni > > This patch adds specific quirks for PCI config space accessors, > it uses _HID to decide whether to hook pci_ops or not. If I understand correctly, this would mean that it's not actually ECAM compliant