diff options
author | Michael Neuling <mikey@neuling.org> | 2017-07-12 12:06:55 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-07-13 10:19:45 +1000 |
commit | de360495f69a117cadcbffbb8ebe930014c75e2a (patch) | |
tree | fcec1b8d7b1aa7e5aa3f9bcc22173340b1ce0fb9 /hw | |
parent | 652340ac11a2f163bb860d698d8110057c618bef (diff) | |
download | skiboot-de360495f69a117cadcbffbb8ebe930014c75e2a.zip skiboot-de360495f69a117cadcbffbb8ebe930014c75e2a.tar.gz skiboot-de360495f69a117cadcbffbb8ebe930014c75e2a.tar.bz2 |
phb4: Do more retries on link training failures
Currently we only retry once when we have a link training failure.
This changes this to be 3 retries as 1 retry is not giving us enough
reliablity.
This will increase the boot time, especially on systems where we
incorrectly detect a link presence when there really is nothing
present. I'll post a followup patch to optimise our timings to help
mitigate this later.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/phb4.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2512,7 +2512,7 @@ static struct pci_slot *phb4_slot_create(struct phb *phb) slot->ops.hreset = phb4_hreset; slot->ops.freset = phb4_freset; slot->ops.creset = phb4_creset; - slot->link_retries = 1; + slot->link_retries = 3; return slot; } |