summaryrefslogtreecommitdiffstats
path: root/src/import/chips
diff options
context:
space:
mode:
authorRaja Das <rajadas2@in.ibm.com>2016-08-08 00:31:00 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-09-25 13:26:54 -0400
commit30b8ee7d02bdd67cd369a9d847075432f32aa0fa (patch)
tree50b8d1f1ff5ce4d92f2bd7e4a18cb2993cc0318e /src/import/chips
parent97de3f088e7509bd8ff05712f4936716d732a3bd (diff)
downloadtalos-hostboot-30b8ee7d02bdd67cd369a9d847075432f32aa0fa.tar.gz
talos-hostboot-30b8ee7d02bdd67cd369a9d847075432f32aa0fa.zip
SBE States updated as per the State Machine in SBE
Change-Id: Ib56a6ce43a892f66380f9da8a3f242d15e317b5f RTC: 126146 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27969 Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27971 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips')
-rw-r--r--src/import/chips/p9/procedures/hwp/sbe/p9_sbe_ext_defs.H26
1 files changed, 16 insertions, 10 deletions
diff --git a/src/import/chips/p9/procedures/hwp/sbe/p9_sbe_ext_defs.H b/src/import/chips/p9/procedures/hwp/sbe/p9_sbe_ext_defs.H
index 6810bced8..43eef2e2c 100644
--- a/src/import/chips/p9/procedures/hwp/sbe/p9_sbe_ext_defs.H
+++ b/src/import/chips/p9/procedures/hwp/sbe/p9_sbe_ext_defs.H
@@ -60,16 +60,22 @@ typedef union sbeMsgReg
*/
typedef enum sbeState
{
- SBE_STATE_UNKNOWN = 0, ///< Unknown state - Initial (stable state)
- SBE_STATE_FFDC = 1, ///< Waiting for SBE FFDC to be collected
- SBE_STATE_IPLING = 2, ///< IPL'ing - autonomous mode (transient state)
- SBE_STATE_ISTEP = 3, ///< IPL'ing - istep mode (transient state)
- SBE_STATE_RUNTIME = 4, ///< SBE runtime (stable state)
- SBE_STATE_DUMP = 5, ///< SBE dumping (transient state)
- SBE_STATE_MPIPL = 6, ///< SBE mpipl (transient state)
- SBE_STATE_FAILURE = 7, ///< SBE internal failure (stable state)
- SBE_STATE_ABORT = 8, ///< SBE aborted
- SBE_STATE_QUIESCE = 0xF, ///< SBE quiesce state
+ SBE_STATE_UNKNOWN = 0x0, // Unkown, initial state
+ SBE_STATE_FFDC_COLLECT = 0x1, // Waiting for FFDC collection after a reset
+ SBE_STATE_IPLING = 0x2, // IPL'ing - autonomous mode (transient)
+ SBE_STATE_ISTEP = 0x3, // ISTEP - Running IPL by steps (transient)
+ SBE_STATE_RUNTIME = 0x4, // SBE Runtime
+ SBE_STATE_MPIPL = 0x5, // MPIPL
+ SBE_STATE_DMT = 0x6, // Dead Man Timer State (transient)
+ SBE_STATE_DUMP = 0x7, // Dumping
+ SBE_STATE_FAILURE = 0x8, // Internal SBE failure
+ SBE_STATE_QUIESCE = 0x9, // Final state - needs SBE reset to get out
+ SBE_STATE_ABORT = 0xA, // SBE was asked to abort - need reset to get out
+
+ // Max States, Always keep it at the last of the enum and sequential
+ SBE_MAX_STATE = 0xB,
+ // Don't count this in the state, just to intialize the state variables
+ SBE_INVALID_STATE = 0xF,
} sbeState_t;
#endif //_P9_SBE_EXT_DEFS_H_
OpenPOWER on IntegriCloud