summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/istep21/call_host_start_payload.C
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2018-09-07 22:09:28 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-09-08 12:04:56 -0500
commitf629523b932bd6096460f845446e2ebb3c76908d (patch)
tree0b6bad19d2acb48d1462e7ee30f1b1e6e9229222 /src/usr/isteps/istep21/call_host_start_payload.C
parent29f9ee17713de9f1b88aaf8e93a880feff35b891 (diff)
downloadtalos-hostboot-f629523b932bd6096460f845446e2ebb3c76908d.tar.gz
talos-hostboot-f629523b932bd6096460f845446e2ebb3c76908d.zip
Run INT scominit on all nodes in multinode systems
There was a bug in the code where it was only setting up the msg queue/task for the INT scominit on the master node. Moved setup into callShutdown, which runs on all nodes. Change-Id: I5c98c588cab6627d9e87232e89aa333cf8a0aa05 CQ:SW444995 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65865 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: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/isteps/istep21/call_host_start_payload.C')
-rw-r--r--src/usr/isteps/istep21/call_host_start_payload.C18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/usr/isteps/istep21/call_host_start_payload.C b/src/usr/isteps/istep21/call_host_start_payload.C
index c5a650a10..0145f20de 100644
--- a/src/usr/isteps/istep21/call_host_start_payload.C
+++ b/src/usr/isteps/istep21/call_host_start_payload.C
@@ -317,16 +317,6 @@ void* call_host_start_payload (void *io_pArgs)
break;
}
- msg_q_t l_msgQ = msg_q_create();
-
- // Register event to be called on shutdown
- INITSERVICE::registerShutdownEvent(l_msgQ,
- MSG_PRE_SHUTDOWN_INITS,
- INITSERVICE::PRESHUTDOWN_INIT_PRIORITY);
-
- // Create a task to handle the messages
- task_create(ISTEP_21::msg_handler, l_msgQ);
-
// For single-node systems, the non-master processors can be in a
// different logical (powerbus) group. Need to migrate task to master.
task_affinity_pin();
@@ -482,6 +472,14 @@ errlHndl_t callShutdown ( uint64_t i_masterInstance,
do
{
+ // Register event to be called on shutdown
+ msg_q_t l_msgQ = msg_q_create();
+ INITSERVICE::registerShutdownEvent(l_msgQ,
+ MSG_PRE_SHUTDOWN_INITS,
+ INITSERVICE::PRESHUTDOWN_INIT_PRIORITY);
+ // Create a task to handle the messages
+ task_create(ISTEP_21::msg_handler, l_msgQ);
+
// Tell SBE to Close All Unsecure Memory Regions
err = SBEIO::closeAllUnsecureMemRegions();
if (err)
OpenPOWER on IntegriCloud