summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElizabeth Liner <eliner@us.ibm.com>2018-01-30 10:20:05 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-01-30 14:37:42 -0500
commit7c679624bbb135ab6e7fd88c0281297af8fbdf8b (patch)
treebcbc2339f88191c4d4e70f9ecf0034fc55c76a6e
parentaff61dd84b01d3aff4dbaa3e32a55c988539266e (diff)
downloadtalos-hostboot-7c679624bbb135ab6e7fd88c0281297af8fbdf8b.tar.gz
talos-hostboot-7c679624bbb135ab6e7fd88c0281297af8fbdf8b.zip
Fixing timeout error in PSU code - removing hang
There was an issue in the PSU SBE code where we were hanging, and subsequently failing. This changes the elapsed time counter to increment more quickly. Change-Id: I3c4c4905b8bad81c5dcca1e7d7bd5935a9e671a6 CQ:SW410105 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52934 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
-rw-r--r--src/usr/sbeio/sbe_psudd.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/sbeio/sbe_psudd.C b/src/usr/sbeio/sbe_psudd.C
index fcbc95d5b..d66e757b4 100644
--- a/src/usr/sbeio/sbe_psudd.C
+++ b/src/usr/sbeio/sbe_psudd.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2017 */
+/* Contributors Listed Below - COPYRIGHT 2012,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -597,7 +597,7 @@ errlHndl_t SbePsu::pollForPsuComplete(TARGETING::Target * i_target,
// try later
task_yield();
- l_elapsed_time_ns += 100;
+ l_elapsed_time_ns += ONE_CTX_SWITCH_NS;
// There will be many polls to check for the complete. If there
// is a problem, then there will be hundreds before timing out
OpenPOWER on IntegriCloud