[Skiboot] [PATCH] PHB3: Wait 1s, not 100ms, for PCIe electricals to train

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Apr 28 13:49:01 AEST 2015


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 at kernel.crashing.org>
---

We probably want that in our next 810.xx drop as well as master...

 hw/phb3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/phb3.c b/hw/phb3.c
index 0172cb3..3f56fbc 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -2043,7 +2043,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)





More information about the Skiboot mailing list