Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller

2016-05-03 Thread Lorenzo Pieralisi
On Fri, Apr 29, 2016 at 11:05:34PM +0530, Jayachandran C wrote: > On Fri, Apr 29, 2016 at 2:07 PM, Lorenzo Pieralisi > wrote: > > On Thu, Apr 28, 2016 at 04:48:00PM -0500, Bjorn Helgaas wrote: > > > > [...] > > > >> > +static int pci_acpi_setup_ecam_mapping(struct acpi_pci_root *root, > >> > +

Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller

2016-05-02 Thread Tomasz Nowicki
On 04/29/2016 07:35 PM, Jayachandran C wrote: On Fri, Apr 29, 2016 at 2:07 PM, Lorenzo Pieralisi wrote: On Thu, Apr 28, 2016 at 04:48:00PM -0500, Bjorn Helgaas wrote: [...] +static int pci_acpi_setup_ecam_mapping(struct acpi_pci_root *root, + struct acpi_pci_

Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller

2016-05-02 Thread Tomasz Nowicki
On 04/28/2016 11:48 PM, Bjorn Helgaas wrote: Hey, I really kind of like this. I think this might work out well. On Fri, Apr 15, 2016 at 07:06:44PM +0200, Tomasz Nowicki wrote: This patch is going to implement generic PCI host controller for ACPI world, similar to what pci-host-generic.c driver

Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller

2016-04-29 Thread Jayachandran C
On Fri, Apr 29, 2016 at 2:07 PM, Lorenzo Pieralisi wrote: > On Thu, Apr 28, 2016 at 04:48:00PM -0500, Bjorn Helgaas wrote: > > [...] > >> > +static int pci_acpi_setup_ecam_mapping(struct acpi_pci_root *root, >> > + struct acpi_pci_generic_root_info *ri) >> > +{ >>

Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller

2016-04-29 Thread Lorenzo Pieralisi
On Thu, Apr 28, 2016 at 04:48:00PM -0500, Bjorn Helgaas wrote: [...] > > +static int pci_acpi_setup_ecam_mapping(struct acpi_pci_root *root, > > + struct acpi_pci_generic_root_info *ri) > > +{ > > + u16 seg = root->segment; > > + u8 bus_start = root->secondary

Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller

2016-04-28 Thread Bjorn Helgaas
Hey, I really kind of like this. I think this might work out well. On Fri, Apr 15, 2016 at 07:06:44PM +0200, Tomasz Nowicki wrote: > This patch is going to implement generic PCI host controller for > ACPI world, similar to what pci-host-generic.c driver does for DT world. > > All such drivers, w

Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller

2016-04-23 Thread Jon Masters
On 04/22/2016 10:40 AM, Jon Masters wrote: > On 04/21/2016 05:06 AM, Tomasz Nowicki wrote: >> On 20.04.2016 21:12, Jayachandran C wrote: >>> On Fri, Apr 15, 2016 at 10:36 PM, Tomasz Nowicki wrote: > This patch is heavily based on the updated version from Jayachandran C: https://lkml.org

Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller

2016-04-22 Thread Jon Masters
On 04/21/2016 05:06 AM, Tomasz Nowicki wrote: > On 20.04.2016 21:12, Jayachandran C wrote: >> On Fri, Apr 15, 2016 at 10:36 PM, Tomasz Nowicki wrote: >>> This patch is heavily based on the updated version from Jayachandran C: >>> https://lkml.org/lkml/2016/4/11/908 >>> git: https://github.com/jch

Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller

2016-04-22 Thread Jayachandran C
On Thu, Apr 21, 2016 at 2:36 PM, Tomasz Nowicki wrote: > On 20.04.2016 21:12, Jayachandran C wrote: >> >> On Fri, Apr 15, 2016 at 10:36 PM, Tomasz Nowicki wrote: >>> >>> This patch is going to implement generic PCI host controller for >>> ACPI world, similar to what pci-host-generic.c driver does

Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller

2016-04-21 Thread Tomasz Nowicki
On 20.04.2016 21:12, Jayachandran C wrote: On Fri, Apr 15, 2016 at 10:36 PM, Tomasz Nowicki wrote: This patch is going to implement generic PCI host controller for ACPI world, similar to what pci-host-generic.c driver does for DT world. All such drivers, which we have seen so far, were impleme

Re: [PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller

2016-04-20 Thread Jayachandran C
On Fri, Apr 15, 2016 at 10:36 PM, Tomasz Nowicki wrote: > This patch is going to implement generic PCI host controller for > ACPI world, similar to what pci-host-generic.c driver does for DT world. > > All such drivers, which we have seen so far, were implemented within > arch/ directory since the

[PATCH V6 09/13] pci, acpi: Support for ACPI based generic PCI host controller

2016-04-15 Thread Tomasz Nowicki
This patch is going to implement generic PCI host controller for ACPI world, similar to what pci-host-generic.c driver does for DT world. All such drivers, which we have seen so far, were implemented within arch/ directory since they had some arch assumptions (x86 and ia64). However, they all are