Re: [PATCH V6 07/13] PCI: Provide common functions for ECAM mapping

2016-05-05 Thread Tomasz Nowicki
On 05.05.2016 11:24, Jayachandran C wrote: On Fri, Apr 29, 2016 at 1:31 PM, Jayachandran C wrote: On Fri, Apr 29, 2016 at 3:17 AM, Bjorn Helgaas wrote: On Fri, Apr 15, 2016 at 07:06:42PM +0200, Tomasz Nowicki wrote: From: Jayachandran C Add config option PCI_GENERIC_ECAM and file drivers/p

Re: [PATCH V6 07/13] PCI: Provide common functions for ECAM mapping

2016-05-05 Thread Jayachandran C
On Fri, Apr 29, 2016 at 1:31 PM, Jayachandran C wrote: > On Fri, Apr 29, 2016 at 3:17 AM, Bjorn Helgaas wrote: >> On Fri, Apr 15, 2016 at 07:06:42PM +0200, Tomasz Nowicki wrote: >>> From: Jayachandran C >>> >>> Add config option PCI_GENERIC_ECAM and file drivers/pci/ecam.c to >>> provide generic

Re: [PATCH V6 07/13] PCI: Provide common functions for ECAM mapping

2016-04-29 Thread Jayachandran C
On Fri, Apr 29, 2016 at 3:17 AM, Bjorn Helgaas wrote: > On Fri, Apr 15, 2016 at 07:06:42PM +0200, Tomasz Nowicki wrote: >> From: Jayachandran C >> >> Add config option PCI_GENERIC_ECAM and file drivers/pci/ecam.c to >> provide generic functions for accessing memory mapped PCI config space. >> >>

Re: [PATCH V6 07/13] PCI: Provide common functions for ECAM mapping

2016-04-28 Thread Bjorn Helgaas
On Fri, Apr 15, 2016 at 07:06:42PM +0200, Tomasz Nowicki wrote: > From: Jayachandran C > > Add config option PCI_GENERIC_ECAM and file drivers/pci/ecam.c to > provide generic functions for accessing memory mapped PCI config space. > > The API is defined in drivers/pci/ecam.h and is written to re

Re: [PATCH V6 07/13] PCI: Provide common functions for ECAM mapping

2016-04-15 Thread Arnd Bergmann
On Friday 15 April 2016 19:06:42 Tomasz Nowicki wrote: > diff --git a/drivers/pci/ecam.h b/drivers/pci/ecam.h > new file mode 100644 > index 000..34c0aba > --- /dev/null > +++ b/drivers/pci/ecam.h > You are including this file from device drivers and potentially from ACPI code, so I think th

[PATCH V6 07/13] PCI: Provide common functions for ECAM mapping

2016-04-15 Thread Tomasz Nowicki
From: Jayachandran C Add config option PCI_GENERIC_ECAM and file drivers/pci/ecam.c to provide generic functions for accessing memory mapped PCI config space. The API is defined in drivers/pci/ecam.h and is written to replace the API in drivers/pci/host/pci-host-common.h. The file defines a new