diff options
author | Maciej W. Rozycki <[email protected]> | 2024-08-09 14:24:56 +0100 |
---|---|---|
committer | Krzysztof Wilczyński <[email protected]> | 2024-09-09 13:58:38 +0000 |
commit | 712e49c967064a3a7a5738c6f65ac540a3f6a1df (patch) | |
tree | b8eb90822d4414a00a6706090dcc906370a87a50 /scripts/generate_rust_analyzer.py | |
parent | f68dea13405c94381d08f42dbf0416261622bdad (diff) |
PCI: Correct error reporting with PCIe failed link retraining
Only return successful completion status from pcie_failed_link_retrain() if
retraining has actually been done, preventing excessive delays from being
triggered at call sites in a hope that communication will finally be
established with the downstream device where in fact nothing has been done
about the link in question that would justify such a hope.
Fixes: a89c82249c37 ("PCI: Work around PCIe link training failures")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Maciej W. Rozycki <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Cc: <[email protected]> # v6.5+
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions