Skip to content

Commit

Permalink
phb4: Update link training documentation
Browse files Browse the repository at this point in the history
We added degraded link retries in:
   3f936ba phb4: Retrain link if degraded
but forgot to update the documentation.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
mikey authored and stewartsmith committed Sep 28, 2017
1 parent dceed21 commit 1c3f583
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hw/phb4.c
Expand Up @@ -82,6 +82,14 @@
* o Once we leave here, much harder to recover from errors
*
* Step 9:
* - Check for optimised link for directly attached devices:
* o Wait for CRS (so we can read device config space)
* o Check chip and device are in whitelist. if not, Goto Step 10
* o If trained link speed is degraded, retry -> Goto Step 2
* o If trained link width is degraded, retry -> Goto Step 2
* o If still degraded after 3 retries. Give up, Goto Step 10.
*
* Step 10:
* - PHB good, start probing config space.
* o core/pci.c: pci_reset_phb() -> pci_scan_phb()
*/
Expand Down

0 comments on commit 1c3f583

Please sign in to comment.