summaryrefslogtreecommitdiffstats
path: root/src/include/usr/initservice
diff options
context:
space:
mode:
authorAndrew Jeffery <andrewrj@au1.ibm.com>2018-10-04 15:03:12 +0930
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-10-09 10:07:42 -0500
commitd6741cb3db68795586a21fc812806836135341ec (patch)
tree192f8ffbda04b3f9295132738f515bf81126a763 /src/include/usr/initservice
parent3b5764defdff5c0f4ca7628804983d7a2c86900e (diff)
downloadtalos-hostboot-d6741cb3db68795586a21fc812806836135341ec.tar.gz
talos-hostboot-d6741cb3db68795586a21fc812806836135341ec.zip
ipmi: Terminate SEL task via shutdown event
The IpmiSEL task will become part of the extended image once the IPMI module is split in two. Once split, if we need to handle an early shutdown we cannot be referencing code from HBI in HBB. To that end, ensure we don't instantiate an IpmiSEL via Singleton in an attempt to shutdown its event loop when it hasn't been loaded, let alone started. Instead, have IpmiSEL register itself in the shutdown handler, and shut down the SEL task before IpmiRP. Change-Id: I358f6cb1f5528a4ad72c93477ad883cad19e2bf6 Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67076 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/include/usr/initservice')
-rw-r--r--src/include/usr/initservice/initserviceif.H8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/usr/initservice/initserviceif.H b/src/include/usr/initservice/initserviceif.H
index 3e6d0bd4a..87ca8cdb0 100644
--- a/src/include/usr/initservice/initserviceif.H
+++ b/src/include/usr/initservice/initserviceif.H
@@ -61,16 +61,16 @@ namespace INITSERVICE
NOTIFY_FIRST = 0,
HIGHEST_PRIORITY = NOTIFY_FIRST,
NO_PRIORITY = 16,
- MBOX_PRIORITY = 17,
- INTR_PRIORITY = 18,
- PRESHUTDOWN_INIT_PRIORITY = 19,
+ IPMI_SEL_PRIORITY = 17,
+ MBOX_PRIORITY = 18,
+ INTR_PRIORITY = 19,
+ PRESHUTDOWN_INIT_PRIORITY = 20,
LOWEST_PRIORITY = 127,
CONSOLE_PRIORITY = LOWEST_PRIORITY,
LAST_PRE_MEM_FLUSH_PRIORITY = LOWEST_PRIORITY,
HIGHEST_POST_MEM_FLUSH_PRIORITY = 128, // 1st post mem flush callback
PNOR_RP_PRIORITY = HIGHEST_POST_MEM_FLUSH_PRIORITY,
POST_MEM_FLUSH_NOTIFY_LAST = 255
-
};
/**
OpenPOWER on IntegriCloud