This 2 patches fix the issue before and after retrain link. Ley Foon Tan (2): PCI: altera: check link status before retrain link PCI: altera: Polling for link up status after retrain the link drivers/pci/host/pcie-altera.c | 48 +++++++++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 17 deletions(-) -- 1.8.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html