RE: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-16 Thread Gabriele Paoloni
linux-...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; linaro-a...@lists.linaro.org; > j...@redhat.com; andrea.ga...@linaro.org; jeremy.lin...@arm.com; > jh...@codeaurora.org; linux-a...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH V6 2/5]

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-16 Thread Christopher Covington
a...@linaro.org; jeremy.lin...@arm.com; >> Gabriele Paoloni; jh...@codeaurora.org; linux-a...@vger.kernel.org; >> linux-kernel@vger.kernel.org >> Subject: Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM >> quirks >> >> On Tue, Sep 13, 2016 at 07:38:39PM +0800, Dongdon

RE: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-16 Thread Gabriele Paoloni
@vger.kernel.org > Subject: Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM > quirks > > On Tue, Sep 13, 2016 at 07:38:39PM +0800, Dongdong Liu wrote: > > [...] > > > Our host bridge is non ECAM only for the RC bus config space; > > for any other bus u

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-15 Thread Lorenzo Pieralisi
On Tue, Sep 13, 2016 at 07:38:39PM +0800, Dongdong Liu wrote: [...] > Our host bridge is non ECAM only for the RC bus config space; > for any other bus underneath the root bus we support ECAM access. > > RC config resource with hardcode as DEFINE_RES_MEM(0xb007, SZ_4K), > EP config resource

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-14 Thread Lorenzo Pieralisi
On Tue, Sep 13, 2016 at 07:38:39PM +0800, Dongdong Liu wrote: > Hi Tomasz > > ?? 2016/9/13 14:32, Tomasz Nowicki : > >Hi Liu, > > > >On 13.09.2016 04:36, Dongdong Liu wrote: > >>Hi Tomasz > >> > >>?? 2016/9/10 3:24, Tomasz Nowicki : > >>>Some platforms may not be fully compliant with gener

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-13 Thread Dongdong Liu
Hi Tomasz 在 2016/9/13 14:32, Tomasz Nowicki 写道: Hi Liu, On 13.09.2016 04:36, Dongdong Liu wrote: Hi Tomasz 在 2016/9/10 3:24, Tomasz Nowicki 写道: Some platforms may not be fully compliant with generic set of PCI config accessors. For these cases we implement the way to overwrite CFG accessors

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-12 Thread Tomasz Nowicki
On 13.09.2016 00:24, Duc Dang wrote: On Fri, Sep 9, 2016 at 12:24 PM, Tomasz Nowicki wrote: Some platforms may not be fully compliant with generic set of PCI config accessors. For these cases we implement the way to overwrite CFG accessors set and configuration space range. In first place pci

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-12 Thread Tomasz Nowicki
Hi Liu, On 13.09.2016 04:36, Dongdong Liu wrote: Hi Tomasz 在 2016/9/10 3:24, Tomasz Nowicki 写道: Some platforms may not be fully compliant with generic set of PCI config accessors. For these cases we implement the way to overwrite CFG accessors set and configuration space range. In first place

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-12 Thread Tomasz Nowicki
On 13.09.2016 00:47, Duc Dang wrote: On Mon, Sep 12, 2016 at 3:24 PM, Duc Dang wrote: On Fri, Sep 9, 2016 at 12:24 PM, Tomasz Nowicki wrote: Some platforms may not be fully compliant with generic set of PCI config accessors. For these cases we implement the way to overwrite CFG accessors set

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-12 Thread Dongdong Liu
Hi Tomasz 在 2016/9/10 3:24, Tomasz Nowicki 写道: Some platforms may not be fully compliant with generic set of PCI config accessors. For these cases we implement the way to overwrite CFG accessors set and configuration space range. In first place pci_mcfg_parse() saves machine's IDs and revision

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-12 Thread Duc Dang
On Mon, Sep 12, 2016 at 3:24 PM, Duc Dang wrote: > On Fri, Sep 9, 2016 at 12:24 PM, Tomasz Nowicki wrote: >> >> Some platforms may not be fully compliant with generic set of PCI config >> accessors. For these cases we implement the way to overwrite CFG accessors >> set and configuration space ran

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-12 Thread Duc Dang
On Fri, Sep 9, 2016 at 12:24 PM, Tomasz Nowicki wrote: > > Some platforms may not be fully compliant with generic set of PCI config > accessors. For these cases we implement the way to overwrite CFG accessors > set and configuration space range. > > In first place pci_mcfg_parse() saves machine's

[PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-09 Thread Tomasz Nowicki
Some platforms may not be fully compliant with generic set of PCI config accessors. For these cases we implement the way to overwrite CFG accessors set and configuration space range. In first place pci_mcfg_parse() saves machine's IDs and revision number (these come from MCFG header) in order to m