aboutsummaryrefslogtreecommitdiff
path: root/include/phb4.h
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-07-28 09:34:30 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-07-28 14:03:59 +1000
commita3abac2f66e1dd9f50b6a0c034abce3be5e1a104 (patch)
tree1b8213b0b3166eae602700eb6d7167164a133815 /include/phb4.h
parent2a95a2db72155b270dc568d257c2fce5f459e17a (diff)
downloadskiboot-a3abac2f66e1dd9f50b6a0c034abce3be5e1a104.zip
skiboot-a3abac2f66e1dd9f50b6a0c034abce3be5e1a104.tar.gz
skiboot-a3abac2f66e1dd9f50b6a0c034abce3be5e1a104.tar.bz2
phb4: Be more conservative on link presence timeout
In this patch we tuned our link timing to be more agressive: cf960e2884 phb4: Improve reset and link training timing Cards should take only 32ms but unfortunately we've seen some take up to 440ms. Hence bump our timer up to 1000ms. This can hurt boot times on systems where slots indicate a hotplug status but no electrical link is present (which we've seen). Since we have to wait 1 second between PERST and touching config space anyway, it shouldn't hurt too much. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/phb4.h')
-rw-r--r--include/phb4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/phb4.h b/include/phb4.h
index b04e3f5..eb292cd 100644
--- a/include/phb4.h
+++ b/include/phb4.h
@@ -215,7 +215,7 @@ struct phb4_err {
};
/* Link timeouts, increments of 10ms */
-#define PHB4_LINK_ELECTRICAL_RETRIES 20
+#define PHB4_LINK_ELECTRICAL_RETRIES 100
#define PHB4_LINK_WAIT_RETRIES 200
#define PHB4_LINK_STABLE_RETRIES 0