From ee644a4d14e2a0aa26df6e94c327eca2865db783 Mon Sep 17 00:00:00 2001 From: Yue Du Date: Sun, 5 Nov 2017 16:57:15 -0600 Subject: STOP/PState: SGPE/PGPE Error Handling Support Upon PGPE Halt 1) SGPE performs STOP Recovery Trigger to set a malfunction alert and removes PGPE IPCs from wake-up decisions. 2) CME is interrupted by QPPM OCC Heartbeat Lost that PGPE stopped updating Upon SGPE Halt 1) PGPE moves to Psafe 2) PGPE performs STOP Recovery Trigger to set a malfunction alert. This commit also includes SGPE Panic Code Cleanup such as debug halt support. However PGPE Panic Code Cleanup is dealt in a different commit Key_Cronus_Test=PM_REGRESS Change-Id: I893aa1ef21d2f684722b8c10dbbeb92b9505c1c4 CQ: SW410252 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49275 Tested-by: PPE CI Tested-by: Jenkins Server Tested-by: HWSV CI Tested-by: Cronus HW CI Tested-by: FSP CI Jenkins Tested-by: Hostboot CI Reviewed-by: Michael S. Floyd Reviewed-by: RAHUL BATRA Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49429 Reviewed-by: Hostboot Team Reviewed-by: Sachin Gupta --- src/import/chips/p9/procedures/hwp/lib/p9_pm_hcd_flags.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/import/chips') diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_pm_hcd_flags.h b/src/import/chips/p9/procedures/hwp/lib/p9_pm_hcd_flags.h index 561afbd3..f45bf885 100644 --- a/src/import/chips/p9/procedures/hwp/lib/p9_pm_hcd_flags.h +++ b/src/import/chips/p9/procedures/hwp/lib/p9_pm_hcd_flags.h @@ -68,6 +68,12 @@ enum PM_GPE_OCCFLG_DEFS REQUEST_OCC_SAFE_STATE = 31 }; +//Enum form of OCC FLAG2. +enum PM_GPE_OCCFLG2_DEFS +{ + STOP_RECOVERY_TRIGGER_ENABLE = 29 +}; + // //Enum form of OCC SCRATCH2. // @@ -82,6 +88,7 @@ enum PM_GPE_OCC_SCRATCH2_DEFS PGPE_DEBUG_TRAP_ENABLE = 10, L3_CONTAINED_MODE = 11, PGPE_SAFE_MODE_ERROR = 12, + PM_DEBUG_HALT_ENABLE = 15, PGPE_OP_TRACE_DISABLE = 24, PGPE_OP_TRACE_MEM_MODE = 25 }; @@ -104,6 +111,7 @@ enum PM_CME_FLAGS_DEFS CME_FLAGS_STOP_BLOCK_ENTRY_C0 = 10, CME_FLAGS_STOP_BLOCK_ENTRY_C1 = 11, CME_FLAGS_CORE_QUIESCE_ACTIVE = 12, + CME_FLAGS_PM_DEBUG_HALT_ENABLE = 13, CME_FLAGS_WAIT_ON_PSTATE_START = 14, CME_FLAGS_PSTATES_ENABLED = 24, CME_FLAGS_FREQ_UPDT_DISABLE = 25, -- cgit v1.2.1