diff options
| author | Maciej W. Rozycki <macro@orcam.me.uk> | 2025-12-08 19:24:38 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-05-06 17:21:28 -0500 |
| commit | 64d63fd28177abd1bbc3133610771aa15c22c223 (patch) | |
| tree | 4c83deeac31039b8864f98f4d7fafeb693f29719 /include/linux | |
| parent | 30a361308085ebf9a848be2d5828ed913d3572f5 (diff) | |
PCI: Bail out early for 2.5GT/s devices in PCIe failed link retraining
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@orcam.me.uk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Link: https://patch.msgid.link/alpine.DEB.2.21.2512080356070.49654@angie.orcam.me.uk
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
