diff options
author | vinaybs6 <vinaybs6@in.ibm.com> | 2019-11-19 06:41:38 -0600 |
---|---|---|
committer | RAJA DAS <rajadas2@in.ibm.com> | 2020-01-10 04:23:44 -0600 |
commit | 54f3205f2ce678cf8d377f4d3d5c23b3bce33096 (patch) | |
tree | acbf3b23e386b5d1866ec89c39849232fb67b8af /src/sbefw | |
parent | 2615d39b099f344928c8ad03332e69ee6d5068ce (diff) | |
download | talos-sbe-54f3205f2ce678cf8d377f4d3d5c23b3bce33096.tar.gz talos-sbe-54f3205f2ce678cf8d377f4d3d5c23b3bce33096.zip |
Setting the HRMOR value for OPAL based systems.
Change-Id: I75f01f8996c6664641bca939855a7bcad6220a01
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/87387
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: MURULIDHAR NATARAJU <murulidhar@in.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
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; |