Re: [PATCH v9 1/4] pci:host: APM X-Gene PCIe host controller driver

2014-09-22 Thread Tanmay Inamdar
On Mon, Sep 22, 2014 at 3:27 PM, Jason Gunthorpe wrote: > On Mon, Sep 22, 2014 at 04:09:03PM -0600, Bjorn Helgaas wrote: >> On Mon, Sep 22, 2014 at 3:33 PM, Tanmay Inamdar wrote: >> >> >>> +static void xgene_pcie_fixup_bridge(struct pci_dev *dev) >> >>> +{ >> >>> + int i; >> >>> + >> >>> +

Re: [PATCH v9 1/4] pci:host: APM X-Gene PCIe host controller driver

2014-09-22 Thread Tanmay Inamdar
On Mon, Sep 22, 2014 at 3:09 PM, Bjorn Helgaas wrote: > On Mon, Sep 22, 2014 at 3:33 PM, Tanmay Inamdar wrote: > +static void xgene_pcie_fixup_bridge(struct pci_dev *dev) +{ + int i; + + /* Hide the PCI host BARs from the kernel as their content doesn't +

Re: [PATCH v9 1/4] pci:host: APM X-Gene PCIe host controller driver

2014-09-22 Thread Jason Gunthorpe
On Mon, Sep 22, 2014 at 04:09:03PM -0600, Bjorn Helgaas wrote: > On Mon, Sep 22, 2014 at 3:33 PM, Tanmay Inamdar wrote: > > >>> +static void xgene_pcie_fixup_bridge(struct pci_dev *dev) > >>> +{ > >>> + int i; > >>> + > >>> + /* Hide the PCI host BARs from the kernel as their content does

Re: [PATCH v9 1/4] pci:host: APM X-Gene PCIe host controller driver

2014-09-22 Thread Bjorn Helgaas
On Mon, Sep 22, 2014 at 3:33 PM, Tanmay Inamdar wrote: >>> +static void xgene_pcie_fixup_bridge(struct pci_dev *dev) >>> +{ >>> + int i; >>> + >>> + /* Hide the PCI host BARs from the kernel as their content doesn't >>> + * fit well in the resource management >>> + */ >> >> This

Re: [PATCH v9 1/4] pci:host: APM X-Gene PCIe host controller driver

2014-09-22 Thread Tanmay Inamdar
Hello Bjorn, Thanks for the review and comments. Please see my inline replies. Thanks, Tanmay On Fri, Sep 19, 2014 at 3:32 PM, Bjorn Helgaas wrote: > On Tue, Sep 16, 2014 at 03:33:41PM -0700, Tanmay Inamdar wrote: >> This patch adds the AppliedMicro X-Gene SOC PCIe host controller driver. >> X-

Re: [PATCH v9 1/4] pci:host: APM X-Gene PCIe host controller driver

2014-09-19 Thread Bjorn Helgaas
On Tue, Sep 16, 2014 at 03:33:41PM -0700, Tanmay Inamdar wrote: > This patch adds the AppliedMicro X-Gene SOC PCIe host controller driver. > X-Gene PCIe controller supports maximum up to 8 lanes and GEN3 speed. > X-Gene SOC supports maximum 5 PCIe ports. > > Reviewed-by: Liviu Dudau > Signed-off-

[PATCH v9 1/4] pci:host: APM X-Gene PCIe host controller driver

2014-09-16 Thread Tanmay Inamdar
This patch adds the AppliedMicro X-Gene SOC PCIe host controller driver. X-Gene PCIe controller supports maximum up to 8 lanes and GEN3 speed. X-Gene SOC supports maximum 5 PCIe ports. Reviewed-by: Liviu Dudau Signed-off-by: Tanmay Inamdar --- drivers/pci/host/Kconfig | 10 + drivers/pci/h