Re: [External] : [PATCH v2 3/3] PCI: Bail out early for 2.5GT/s devices in PCIe failed link retraining
From: ALOK TIWARI
Date: Thu Feb 05 2026 - 05:59:18 EST
On 12/9/2025 12:54 AM, Maciej W. Rozycki wrote:
There's no point in retraining a failed 2.5GT/s device at 2.5GT/s, so
just don't and return early. While such devices might be unlikely to
implement Link Active reporting, we need to retrieve the maximum link
speed and use it in a conditional later on anyway, so the early check
comes for free.
Signed-off-by: Maciej W. Rozycki<macro@xxxxxxxxxxx>
---
drivers/pci/quirks.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Tested-by: Alok Tiwari <alok.a.tiwari@xxxxxxxxxx>
Tested with LTS 6.18.
Thanks,
Alok