summaryrefslogtreecommitdiffstats
path: root/src/include/usr/initservice
diff options
context:
space:
mode:
authorRick Ward <rward15@us.ibm.com>2018-02-13 16:15:46 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-02-15 21:52:28 -0500
commitebe0b5de67d7d4081e3983bee451d63219f2dbf4 (patch)
tree971cd5fa05dff82101420494ef0fa6244c231beb /src/include/usr/initservice
parent11cb66583553b58be26ca70d0b132cadcb77b84d (diff)
downloadtalos-hostboot-ebe0b5de67d7d4081e3983bee451d63219f2dbf4.tar.gz
talos-hostboot-ebe0b5de67d7d4081e3983bee451d63219f2dbf4.zip
Send additional FSP progress messages during long isteps (e.g. memdiags)
Updated sendProgressCode() so that it would only output trace or console messages once per step/substep. Replaced most calls to IPMIWATCHDOG::resetWatchDogTimer() with calls to sendProgressCode() which calls resetWatchDogTimer() if communicating with a BMC, or updates the FSP with its progress on FSP-based systems. Change-Id: I29beb7ce5cdae467d26a0b2c5fee9e3cc4629161 RTC: 169682 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53995 Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/initservice')
-rw-r--r--src/include/usr/initservice/istepdispatcherif.H12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/usr/initservice/istepdispatcherif.H b/src/include/usr/initservice/istepdispatcherif.H
index 1694c7942..402f3eb58 100644
--- a/src/include/usr/initservice/istepdispatcherif.H
+++ b/src/include/usr/initservice/istepdispatcherif.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2017 */
+/* Contributors Listed Below - COPYRIGHT 2012,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -49,6 +49,16 @@ errlHndl_t sendSyncPoint ( void );
/**
+* @brief This function is used by external code to send a progress message
+* from Hostboot to Fsp.
+*
+* param[in] i_needsLock flag to acquire mutex or not
+*
+*/
+void sendProgressCode(bool i_needsLock = true);
+
+
+/**
* @brief This function is to be used by external code to initiate a Istep
* complete message to be sent to the Fsp.
*
OpenPOWER on IntegriCloud