diff options
author | Raja Das <rajadas2@in.ibm.com> | 2017-01-10 00:23:33 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-03-27 12:28:24 -0400 |
commit | 22d0c40beb07614f8149a45cf21a3bedd9d5c9b9 (patch) | |
tree | c66a9223c54e8b022f17f77c6af8e380bd888812 /src/import/chips/p9/procedures | |
parent | b34912d13d4b08e51fedb241ffc1ad47a5a62c76 (diff) | |
download | talos-hostboot-22d0c40beb07614f8149a45cf21a3bedd9d5c9b9.tar.gz talos-hostboot-22d0c40beb07614f8149a45cf21a3bedd9d5c9b9.zip |
Updated sbestates and iv_messaging reg for istep major/minor bits
Change-Id: I6a5021732444a5b1de10bdbc84e08cbbb9407fd6
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34636
Reviewed-by: Sachin Gupta <sgupta2m@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: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35638
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
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/p9/procedures')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/sbe/p9_sbe_ext_defs.H | 32 |
1 files changed, 15 insertions, 17 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 43eef2e2c..3dca57233 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 @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016 */ +/* Contributors Listed Below - COPYRIGHT 2016,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -39,13 +39,13 @@ typedef union sbeMsgReg uint32_t reserved1 : 3; ///< Reserved uint32_t prevState : 4; ///< Previous SBE state uint32_t currState : 4; ///< Current SBE state - uint32_t majorStep : 4; ///< Last major istep executed by the SBE - uint32_t minorStep : 8; ///< Last minor istep executed by the SBE - uint32_t reserved2 : 8; ///< Reserved + uint32_t majorStep : 8; ///< Last major istep executed by the SBE + uint32_t minorStep : 6; ///< Last minor istep executed by the SBE + uint32_t reserved2 : 6; ///< Reserved #else - uint32_t reserved2 : 8; ///< Reserved - uint32_t minorStep : 8; ///< Last minor istep executed by the SBE - uint32_t majorStep : 4; ///< Last major istep executed by the SBE + uint32_t reserved2 : 6; ///< Reserved + uint32_t minorStep : 6; ///< Last minor istep executed by the SBE + uint32_t majorStep : 8; ///< Last major istep executed by the SBE uint32_t currState : 4; ///< Current SBE state uint32_t prevState : 4; ///< Previous SBE state uint32_t reserved1 : 3; ///< Reserved @@ -61,19 +61,17 @@ typedef union sbeMsgReg typedef enum sbeState { 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_IPLING = 0x1, // IPL'ing - autonomous mode (transient) + SBE_STATE_ISTEP = 0x2, // ISTEP - Running IPL by steps (transient) + SBE_STATE_MPIPL = 0x3, // MPIPL 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 + SBE_STATE_DMT = 0x5, // Dead Man Timer State (transient) + SBE_STATE_DUMP = 0x6, // Dumping + SBE_STATE_FAILURE = 0x7, // Internal SBE failure + SBE_STATE_QUIESCE = 0x8, // Final state - needs SBE reset to get out // Max States, Always keep it at the last of the enum and sequential - SBE_MAX_STATE = 0xB, + SBE_MAX_STATE = 0x9, // Don't count this in the state, just to intialize the state variables SBE_INVALID_STATE = 0xF, } sbeState_t; |