aboutsummaryrefslogtreecommitdiff
path: root/hw/phb3.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-04-28 13:49:01 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-04-29 09:44:58 +1000
commit91c96ce08f0a94f696f4ee4394c3c8d22057f3ee (patch)
treeaccb5b93ce6cb632cc43e7f47cee7de1aa230fa6 /hw/phb3.c
parent713c65c871591bfbdab1801503c65362250ee4c6 (diff)
downloadskiboot-91c96ce08f0a94f696f4ee4394c3c8d22057f3ee.zip
skiboot-91c96ce08f0a94f696f4ee4394c3c8d22057f3ee.tar.gz
skiboot-91c96ce08f0a94f696f4ee4394c3c8d22057f3ee.tar.bz2
PHB3: Wait 1s, not 100ms, for PCIe electricals to train
The comment says 1s but we are really only waiting for 100ms and this isn't enough for some Altera FPGA cards it seems. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/phb3.c')
-rw-r--r--hw/phb3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/phb3.c b/hw/phb3.c
index 2f6ab05..826fba7 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -2031,7 +2031,7 @@ static int64_t phb3_start_link_poll(struct phb3 *p)
*/
p->retries = PHB3_LINK_ELECTRICAL_RETRIES;
p->state = PHB3_STATE_WAIT_LINK_ELECTRICAL;
- return phb3_set_sm_timeout(p, msecs_to_tb(100));
+ return phb3_set_sm_timeout(p, msecs_to_tb(1000));
}
static int64_t phb3_sm_hot_reset(struct phb3 *p)