diff options
Diffstat (limited to 'src/sbefw')
-rw-r--r-- | src/sbefw/app/power/chipop_table.C | 7 | ||||
-rw-r--r-- | src/sbefw/app/power/sbecmdmpipl.C | 15 | ||||
-rw-r--r-- | src/sbefw/core/sberegaccess.H | 9 |
3 files changed, 23 insertions, 8 deletions
diff --git a/src/sbefw/app/power/chipop_table.C b/src/sbefw/app/power/chipop_table.C index 37c6daae..513f344c 100644 --- a/src/sbefw/app/power/chipop_table.C +++ b/src/sbefw/app/power/chipop_table.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2017,2019 */ +/* Contributors Listed Below - COPYRIGHT 2017,2020 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -206,10 +206,9 @@ CMD_ARR( {sbeCollectDumpMpipl, SBE_CMD_MPIPL_COLLECT_DUMP, - HARDWARE_FENCED_STATE|SBE_FENCE_AT_ISTEP| - SBE_FENCE_AT_RUNTIME|SBE_FENCE_AT_DUMPING, - // Only allowed State is MPIPL + HARDWARE_FENCED_STATE|SBE_FENCE_AT_DUMPING, } + ) ////////////////////////////////////////////////////////////// diff --git a/src/sbefw/app/power/sbecmdmpipl.C b/src/sbefw/app/power/sbecmdmpipl.C index 792cd6c4..0016e242 100644 --- a/src/sbefw/app/power/sbecmdmpipl.C +++ b/src/sbefw/app/power/sbecmdmpipl.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016,2019 */ +/* Contributors Listed Below - COPYRIGHT 2016,2020 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -311,9 +311,22 @@ uint32_t sbeCollectDumpMpipl(uint8_t *i_pArg) respHdr.setStatus( SBE_PRI_GENERIC_EXECUTION_FAILURE, SBE_SEC_GENERIC_FAILURE_IN_EXECUTION); ffdc.setRc(fapiRc); + rc = fapiRc; break; } + + //Core and Cache stop Clock + SBE_ERROR(SBE_FUNC "Stop clocks for all Core and cache "); + fapiRc = stopClockS0(); + if(fapiRc != FAPI2_RC_SUCCESS) + { + rc = SBE_SEC_S0_STOP_CLOCK_FAILED; + SBE_ERROR(SBE_FUNC "Failed in Core/Cache StopClock S0 Interface"); + break; + } + }while(0); + // Create the Response to caller // If there was a FIFO error, will skip sending the response, // instead give the control back to the command processor thread diff --git a/src/sbefw/core/sberegaccess.H b/src/sbefw/core/sberegaccess.H index b2d7e1d7..c5cc7296 100644 --- a/src/sbefw/core/sberegaccess.H +++ b/src/sbefw/core/sberegaccess.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016,2018 */ +/* Contributors Listed Below - COPYRIGHT 2016,2020 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -293,10 +293,13 @@ class SbeRegAccess uint64_t iv_fspAttached : 1; uint64_t iv_collectFFDC : 1; uint64_t iv_sendFFDC : 1; - uint64_t iv_mbx3DontCare1 : 5; + uint64_t iv_mbx3Reserved1 : 5; // Already occupied bits, not used by SBE uint64_t iv_disableScomFiltering : 1; uint64_t iv_disableInvalidScomAddrCheck : 1; - uint64_t iv_mbx3DontCare2 : 19; + uint64_t iv_mbx3Reserved2 : 2; // Already occupied bits, not used by SBE + uint64_t iv_hostAsOPAL:1; + uint64_t iv_mbx3Unused1 : 12; // Free bits available for future use. + uint64_t iv_mbx3Reserved3 : 4; // Already occupied bits, not used by SBE uint64_t iv_mbx3Unused : 32; }; uint64_t iv_mbx3; |