diff options
author | Matt Derksen <mderkse1@us.ibm.com> | 2018-08-28 10:59:25 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-09-12 10:31:05 -0500 |
commit | 7c5afbddbf0a3f795ad8404319e09a3ff00b11b8 (patch) | |
tree | dcf4b85818bc0351ddf43bdab591ec838269205f /src/usr/ipmi/ipmirp.C | |
parent | b4a7e97c1806c09f33706975f102faefcfcf5708 (diff) | |
download | talos-hostboot-7c5afbddbf0a3f795ad8404319e09a3ff00b11b8.tar.gz talos-hostboot-7c5afbddbf0a3f795ad8404319e09a3ff00b11b8.zip |
Additional tracing for shutdown events
Hit an issue where a shutdown was called but all that is
traced is a msgQ pointer. These traces should help associate the
msgQ pointer to an actual task being shutdown.
Change-Id: Ic22fdde1a146eec90f26d557e8af1ddec3c85c4e
CQ:SW443508
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65464
Reviewed-by: Christian R. Geddes <crgeddes@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: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/ipmi/ipmirp.C')
-rw-r--r-- | src/usr/ipmi/ipmirp.C | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/usr/ipmi/ipmirp.C b/src/usr/ipmi/ipmirp.C index 6b1138783..d58d627c4 100644 --- a/src/usr/ipmi/ipmirp.C +++ b/src/usr/ipmi/ipmirp.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2017 */ +/* Contributors Listed Below - COPYRIGHT 2012,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -464,7 +464,7 @@ void IpmiRP::handlePowerMessage( IPMI::oemSEL* i_event ) INITSERVICE::stopIpl(); // register for the post memory flush callback - INITSERVICE::registerShutdownEvent(iv_msgQ, + INITSERVICE::registerShutdownEvent(IPMI_COMP_ID, iv_msgQ, IPMI::MSG_STATE_GRACEFUL_SHUTDOWN, INITSERVICE::POST_MEM_FLUSH_NOTIFY_LAST); @@ -551,7 +551,8 @@ void IpmiRP::execute(void) // as we don't want to accidentally get this message after // interrupt processing has stopped in case we need intr to // finish flushing the pipe. - INITSERVICE::registerShutdownEvent(iv_msgQ, IPMI::MSG_STATE_SHUTDOWN, + INITSERVICE::registerShutdownEvent(IPMI_COMP_ID, iv_msgQ, + IPMI::MSG_STATE_SHUTDOWN, INITSERVICE::MBOX_PRIORITY); // Start the thread that waits for timeouts @@ -710,7 +711,7 @@ void IpmiRP::execute(void) iv_chassis_power_mod = IPMI::CHASSIS_POWER_RESET; // register for the post memory flush callback - INITSERVICE::registerShutdownEvent(iv_msgQ, + INITSERVICE::registerShutdownEvent(IPMI_COMP_ID, iv_msgQ, IPMI::MSG_STATE_GRACEFUL_SHUTDOWN, INITSERVICE::POST_MEM_FLUSH_NOTIFY_LAST); |