Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-09-06 Thread Arnd Bergmann
On Tuesday, September 6, 2016 7:49:49 PM CEST Tomasz Nowicki wrote: > On 05.09.2016 04:25, Bjorn Helgaas wrote: > > On Mon, Aug 08, 2016 at 03:05:39PM +0200, Tomasz Nowicki wrote: > >> Some platforms may not be fully compliant with generic set of PCI config > >> accessors. For these cases we

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-09-06 Thread Arnd Bergmann
On Tuesday, September 6, 2016 7:49:49 PM CEST Tomasz Nowicki wrote: > On 05.09.2016 04:25, Bjorn Helgaas wrote: > > On Mon, Aug 08, 2016 at 03:05:39PM +0200, Tomasz Nowicki wrote: > >> Some platforms may not be fully compliant with generic set of PCI config > >> accessors. For these cases we

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-09-06 Thread Tomasz Nowicki
On 05.09.2016 04:25, Bjorn Helgaas wrote: On Mon, Aug 08, 2016 at 03:05:39PM +0200, 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 accessors set. Algorithm traverses available quirk list

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-09-06 Thread Tomasz Nowicki
On 05.09.2016 04:25, Bjorn Helgaas wrote: On Mon, Aug 08, 2016 at 03:05:39PM +0200, 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 accessors set. Algorithm traverses available quirk list

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-09-04 Thread Bjorn Helgaas
On Mon, Aug 08, 2016 at 03:05:39PM +0200, 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 accessors > set. Algorithm traverses available quirk list (static array), > matches against

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-09-04 Thread Bjorn Helgaas
On Mon, Aug 08, 2016 at 03:05:39PM +0200, 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 accessors > set. Algorithm traverses available quirk list (static array), > matches against and

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-09-04 Thread Bjorn Helgaas
On Mon, Aug 08, 2016 at 03:05:39PM +0200, 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 accessors > set. Algorithm traverses available quirk list (static array), > matches against

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-09-04 Thread Bjorn Helgaas
On Mon, Aug 08, 2016 at 03:05:39PM +0200, 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 accessors > set. Algorithm traverses available quirk list (static array), > matches against and

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-08-09 Thread Tomasz Nowicki
On 08.08.2016 17:34, Mark Salter wrote: On Mon, 2016-08-08 at 15:05 +0200, 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 accessors set. Algorithm traverses available quirk list (static

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-08-09 Thread Tomasz Nowicki
On 08.08.2016 17:34, Mark Salter wrote: On Mon, 2016-08-08 at 15:05 +0200, 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 accessors set. Algorithm traverses available quirk list (static

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-08-08 Thread Mark Salter
On Mon, 2016-08-08 at 15:05 +0200, 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 accessors > set. Algorithm traverses available quirk list (static array), > matches against

Re: [RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-08-08 Thread Mark Salter
On Mon, 2016-08-08 at 15:05 +0200, 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 accessors > set. Algorithm traverses available quirk list (static array), > matches against and >

[RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-08-08 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 accessors set. Algorithm traverses available quirk list (static array), matches against and returns

[RFC PATCH V5 3/5] PCI: Check platform specific ECAM quirks

2016-08-08 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 accessors set. Algorithm traverses available quirk list (static array), matches against and returns pci_config_window structure with fancy PCI config ops. oem_id,