diff mbox

[V2,2/2] PSI: Revert the timeout for PSI link recovery to architected value

Message ID 20150206025440.21378.19841.stgit@thinktux.in.ibm.com
State Accepted
Headers show

Commit Message

Ananth N Mavinakayanahalli Feb. 6, 2015, 2:54 a.m. UTC
The architected value for the PSI link to come back up is 30 minutes.
In OPAL, we currently only wait 15 minutes before logging an error.
Fix that...

Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
---
 hw/psi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/hw/psi.c b/hw/psi.c
index b4804ff..e944c91 100644
--- a/hw/psi.c
+++ b/hw/psi.c
@@ -159,7 +159,7 @@  struct psi *psi_find_link(uint32_t chip_id)
 }
 
 #define PSI_LINK_CHECK_INTERVAL		10	/* Interval in secs */
-#define PSI_LINK_RECOVERY_TIMEOUT	900	/* 15 minutes */
+#define PSI_LINK_RECOVERY_TIMEOUT	1800	/* 30 minutes */
 
 static void psi_link_poll(void *data __unused)
 {