Add a kernel config to allow the removal of the pcie_failed_link_retrain() quirk. CONFIG_PCI_NOSPEED_QUIRK=y will allow users to prevent the kernel from forcing a PCIe link to 2.5GT/s. This may be beneficial for systems or devices under debug as well as hardware configurations that have demonstrated a high degree of device compatibility & are expected to endure large numbers of hot-plug/error events & always arrive at maximum speed. Matthew W Carlis (1): PCI: Add CONFIG_PCI_NOSPEED_QUIRK to remove pcie_failed_link_retrain drivers/pci/Kconfig | 9 +++++++++ drivers/pci/pci.h | 8 +++++++- drivers/pci/quirks.c | 3 +++ 3 files changed, 19 insertions(+), 1 deletion(-) -- 2.46.0