Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread David Daney
On 09/22/2015 11:52 AM, Will Deacon wrote: On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: From: David Daney The config space for external PCIe root complexes on some Cavium ThunderX SoCs is very similar to CAM and ECAM, but differs in the shift values that have to be applied to

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread Will Deacon
On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: > From: David Daney > > The config space for external PCIe root complexes on some Cavium > ThunderX SoCs is very similar to CAM and ECAM, but differs in the > shift values that have to be applied to the bus and devfn numbers to >

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread David Daney
On 09/22/2015 09:40 AM, Lorenzo Pieralisi wrote: On Tue, Sep 22, 2015 at 05:13:45PM +0100, David Daney wrote: On 09/22/2015 09:05 AM, Lorenzo Pieralisi wrote: On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: [...] Properties of the host controller node: -- compatible :

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread David Daney
On 09/22/2015 09:05 AM, Lorenzo Pieralisi wrote: On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: From: David Daney The config space for external PCIe root complexes on some Cavium ThunderX SoCs is very similar to CAM and ECAM, but differs in the shift values that have to be

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread Lorenzo Pieralisi
On Tue, Sep 22, 2015 at 05:13:45PM +0100, David Daney wrote: > On 09/22/2015 09:05 AM, Lorenzo Pieralisi wrote: > > On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: [...] > >> Properties of the host controller node: > >> > >> -- compatible : Must be "pci-host-cam-generic" or >

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread Lorenzo Pieralisi
On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: > From: David Daney > > The config space for external PCIe root complexes on some Cavium > ThunderX SoCs is very similar to CAM and ECAM, but differs in the > shift values that have to be applied to the bus and devfn numbers to >

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread David Daney
On 09/22/2015 11:52 AM, Will Deacon wrote: On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: From: David Daney The config space for external PCIe root complexes on some Cavium ThunderX SoCs is very similar to CAM and ECAM, but differs in the shift values

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread Will Deacon
On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: > From: David Daney > > The config space for external PCIe root complexes on some Cavium > ThunderX SoCs is very similar to CAM and ECAM, but differs in the > shift values that have to be applied to the bus and

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread David Daney
On 09/22/2015 09:40 AM, Lorenzo Pieralisi wrote: On Tue, Sep 22, 2015 at 05:13:45PM +0100, David Daney wrote: On 09/22/2015 09:05 AM, Lorenzo Pieralisi wrote: On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: [...] Properties of the host controller node: -- compatible :

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread Lorenzo Pieralisi
On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: > From: David Daney > > The config space for external PCIe root complexes on some Cavium > ThunderX SoCs is very similar to CAM and ECAM, but differs in the > shift values that have to be applied to the bus and

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread Lorenzo Pieralisi
On Tue, Sep 22, 2015 at 05:13:45PM +0100, David Daney wrote: > On 09/22/2015 09:05 AM, Lorenzo Pieralisi wrote: > > On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: [...] > >> Properties of the host controller node: > >> > >> -- compatible : Must be "pci-host-cam-generic" or >

Re: [PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-22 Thread David Daney
On 09/22/2015 09:05 AM, Lorenzo Pieralisi wrote: On Thu, Sep 17, 2015 at 11:41:34PM +0100, David Daney wrote: From: David Daney The config space for external PCIe root complexes on some Cavium ThunderX SoCs is very similar to CAM and ECAM, but differs in the shift

[PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-17 Thread David Daney
From: David Daney The config space for external PCIe root complexes on some Cavium ThunderX SoCs is very similar to CAM and ECAM, but differs in the shift values that have to be applied to the bus and devfn numbers to compose that address window offset. These root complexes also have the

[PATCH 3/3] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-17 Thread David Daney
From: David Daney The config space for external PCIe root complexes on some Cavium ThunderX SoCs is very similar to CAM and ECAM, but differs in the shift values that have to be applied to the bus and devfn numbers to compose that address window offset. These root