Re: [PATCH v4 0/2] PCI: altera: Retrain link in rootport mode only

From: Bjorn Helgaas
Date: Mon Sep 12 2016 - 17:56:02 EST


On Fri, Aug 26, 2016 at 09:47:23AM +0800, Ley Foon Tan wrote:
> Altera PCIe IP can be configured as rootport or device and they might have
> same vendor ID. It will cause the system hang issue if Altera PCIe is in
> endpoint mode and work with other PCIe rootport that from other vendors.
>
> This series of patch rework configs accessors and move retrain function
> from _FIXUP to altera_pcie_host_init().
>
> History:
> v2: change to check PCIe type is PCI_EXP_TYPE_ROOT_PORT
> v3: Move retrain function to before pci_scan_root_bus and remove _FIXUP
> v4: Split patch to 2 patches
>
> Ley Foon Tan (2):
> PCI: altera: Rework configs accessors
> PCI: altera: Move retrain from _FIXUP to altera_pcie_host_init()
>
> drivers/pci/host/pcie-altera.c | 215 +++++++++++++++++++++++++----------------
> 1 file changed, 132 insertions(+), 83 deletions(-)

Applied to pci/host-altera for v4.9, thanks!