summaryrefslogtreecommitdiffstats
path: root/src/sbefw/app/power
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbefw/app/power')
-rw-r--r--src/sbefw/app/power/chipop_table.C7
-rw-r--r--src/sbefw/app/power/sbecmdmpipl.C15
2 files changed, 17 insertions, 5 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
OpenPOWER on IntegriCloud