summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-05-08 16:15:22 -0700
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-05-19 18:14:25 -0400
commit2f1a0ed58a1b03eb7b2d08f20f68b498c593358d (patch)
tree815ab3dfc787242675079349ecf1ddb28eecacaf
parent4d392ef8f9eaee1fbc5b4373182a25aba96171ae (diff)
downloadtalos-hostboot-2f1a0ed58a1b03eb7b2d08f20f68b498c593358d.tar.gz
talos-hostboot-2f1a0ed58a1b03eb7b2d08f20f68b498c593358d.zip
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 <wak@google.com> Change-Id: I07152602dd0c03c0224a20e5bea3d4ff804fc093 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58546 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>
-rw-r--r--src/usr/initservice/istepdispatcher/istepdispatcher.C4
1 files changed, 1 insertions, 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<uint8_t>
- (IPMIWATCHDOG::DO_NOT_STOP |
- IPMIWATCHDOG::BIOS_FRB2), // default
+ IPMIWATCHDOG::BIOS_FRB2,
IPMIWATCHDOG::NO_ACTIONS); // do nothing when
// timeout occurs
if(err_ipmi)
OpenPOWER on IntegriCloud