From 2f1a0ed58a1b03eb7b2d08f20f68b498c593358d Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Tue, 8 May 2018 16:15:22 -0700 Subject: istepdispatcher: When trying to set the watchdog, clear DONT_STOP We intend to actually stop the watchdog so allow the set command stop it as defined in the IPMI spec. Resolves #137 Signed-off-by: William A. Kennington III Change-Id: I07152602dd0c03c0224a20e5bea3d4ff804fc093 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58546 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/usr/initservice/istepdispatcher/istepdispatcher.C | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/usr/initservice/istepdispatcher/istepdispatcher.C b/src/usr/initservice/istepdispatcher/istepdispatcher.C index 0cebd9cea..0bcd0410b 100644 --- a/src/usr/initservice/istepdispatcher/istepdispatcher.C +++ b/src/usr/initservice/istepdispatcher/istepdispatcher.C @@ -2888,9 +2888,7 @@ void IStepDispatcher::istepPauseSet(uint8_t i_step, uint8_t i_substep) #ifdef CONFIG_BMC_IPMI errlHndl_t err_ipmi = IPMIWATCHDOG::setWatchDogTimer( IPMIWATCHDOG::DEFAULT_WATCHDOG_COUNTDOWN, - static_cast - (IPMIWATCHDOG::DO_NOT_STOP | - IPMIWATCHDOG::BIOS_FRB2), // default + IPMIWATCHDOG::BIOS_FRB2, IPMIWATCHDOG::NO_ACTIONS); // do nothing when // timeout occurs if(err_ipmi) -- cgit v1.2.1