Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e53f9a28 authored by David Daney's avatar David Daney Committed by Bjorn Helgaas
Browse files

PCI/ASPM: Don't retrain link if ASPM not possible



Some (defective) PCIe devices are not able to reliably do link retraining.

Check to see if ASPM is possible between link partners before configuring
common clocking, and doing the resulting link retraining.  If ASPM is not
possible, there is no reason to risk losing access to a device due to an
unnecessary link retraining.

Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent fc4f57fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment