diff options
author | Christian Geddes <crgeddes@us.ibm.com> | 2017-10-13 17:15:48 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2017-10-17 01:21:17 -0400 |
commit | 241fe35f78ea4eb1132f2c47da4ca1105f993a18 (patch) | |
tree | eb98b7e0cc641bbbb6af3806e084a2562029f947 /src/include | |
parent | 9dbd9cb3680e5cfef4e2aa56d7cc036cf1ded08f (diff) | |
download | talos-hostboot-241fe35f78ea4eb1132f2c47da4ca1105f993a18.tar.gz talos-hostboot-241fe35f78ea4eb1132f2c47da4ca1105f993a18.zip |
Re-apply p9_int_scom inits on shutdown path
The interrupt resource provider shutdown path is clearing out some
scom inits that need to be set or else we see problems in the
hypervisor. This commit registers a new event to the shutdown
command which will re-apply the scominits prior to shutting down
and passing off control to the hypervisor
Change-Id: I98e3de847a48447ff592dc3506605e124cdeda4c
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48413
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>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/usr/initservice/initserviceif.H | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/usr/initservice/initserviceif.H b/src/include/usr/initservice/initserviceif.H index d469167b6..8251bdb94 100644 --- a/src/include/usr/initservice/initserviceif.H +++ b/src/include/usr/initservice/initserviceif.H @@ -58,18 +58,18 @@ namespace INITSERVICE */ enum EventPriority_t { - NOTIFY_FIRST = 0, - HIGHEST_PRIORITY = NOTIFY_FIRST, - NO_PRIORITY = 16, - MBOX_PRIORITY = 17, - INTR_PRIORITY = 18, - LOWEST_PRIORITY = 127, - CONSOLE_PRIORITY = LOWEST_PRIORITY, - LAST_PRE_MEM_FLUSH_PRIORITY = LOWEST_PRIORITY, - + NOTIFY_FIRST = 0, + HIGHEST_PRIORITY = NOTIFY_FIRST, + NO_PRIORITY = 16, + MBOX_PRIORITY = 17, + INTR_PRIORITY = 18, + PRESHUTDOWN_INIT_PRIORITY = 19, + 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 + PNOR_RP_PRIORITY = HIGHEST_POST_MEM_FLUSH_PRIORITY, + POST_MEM_FLUSH_NOTIFY_LAST = 255 }; |