Re: [External] : [PATCH v2 1/3] PCI: Always lift 2.5GT/s restriction in PCIe failed link retraining
From: ALOK TIWARI
Date: Thu Feb 05 2026 - 06:02:04 EST
On 12/9/2025 12:54 AM, Maciej W. Rozycki wrote:
Discard Vendor:Device ID matching in the PCIe failed link retraining
quirk and ignore the link status for the removal of the 2.5GT/s speed
clamp, whether applied by the quirk itself or the firmware earlier on.
Revert to the original target link speed if this final link retraining
has failed.
This is so that link training noise in hot-plug scenarios does not make
a link remain clamped to the 2.5GT/s speed where an event race has led
the quirk to apply the speed clamp for one device, only to leave it in
place for a subsequent device to be plugged in.
Refer to the Link Capabilities register directly for the maximum link
speed determination so as to streamline backporting.
Fixes: a89c82249c37 ("PCI: Work around PCIe link training failures")
Tested-by: Alok Tiwari<alok.a.tiwari@xxxxxxxxxx>
Signed-off-by: Maciej W. Rozycki<macro@xxxxxxxxxxx>
Cc:<stable@xxxxxxxxxxxxxxx> # v6.5+
Tested-by: Alok Tiwari <alok.a.tiwari@xxxxxxxxxx>
Tested with LTS 6.18.
Thanks,
Alok