From ebe0b5de67d7d4081e3983bee451d63219f2dbf4 Mon Sep 17 00:00:00 2001 From: Rick Ward Date: Tue, 13 Feb 2018 16:15:46 -0600 Subject: 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 Reviewed-by: Prachi Gupta Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/include/usr/initservice/istepdispatcherif.H | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/include/usr') 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. */ /* */ /* */ @@ -48,6 +48,16 @@ void waitForSyncPoint ( void ); 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. -- cgit v1.2.1