summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop.h
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2018-02-23 09:57:34 -0600
committerhostboot <hostboot@us.ibm.com>2018-03-22 14:04:11 -0500
commitc4298d3e3ec9f44fbc6d15b1157ad1369b9f5292 (patch)
tree0049660ca3694141bfb1353b6715671217bde7f5 /import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop.h
parent23beea75bf21b835a4d87eee917416f2e3865554 (diff)
downloadtalos-hcode-c4298d3e3ec9f44fbc6d15b1157ad1369b9f5292.tar.gz
talos-hcode-c4298d3e3ec9f44fbc6d15b1157ad1369b9f5292.zip
STOP: Support Suspend Entry/Exit and Fix Pig Collision
1) also cleanup todos in Stop Hcode 2) make STOP3 complete trans in SSH Key_Cronus_Test=PM_REGRESS Change-Id: I28a146e15e455f09f8d8ff588e122d5ecf34110a CQ: SW416550 CQ: HW437955 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54660 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Diffstat (limited to 'import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop.h')
-rw-r--r--import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop.h b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop.h
index 7cafec64..3483fced 100644
--- a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop.h
+++ b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop.h
@@ -222,6 +222,16 @@ enum CME_STOP_SRR1
NO_STATE_LOSS = 1
};
+enum CME_STOP_SUSPEND_BLOCK
+{
+ STOP_SUSPEND_ENCODE = 0xF, //0bxxxx for command encodings of (un)block or (un)suspend
+ STOP_SUSPEND_ACTION = 0x8, //0b1xxY for suspend/block, 0xxY for unsuspend/unblock
+ STOP_SUSPEND_EXIT = 0x4, //0bZ10Y for (un)suspend/(un)block exit
+ STOP_SUSPEND_ENTRY = 0x2, //0bZ01Y for (un)suspend/(un)block entry
+ STOP_SUSPEND_SELECT = 0x1 //0bZxx1 for SUSPEND, 0bZxx0 for BLOCK
+};
+
+
enum CME_SCOM_RESTORE_CONST
{
SCOM_REST_SKIP_CODE = 0x60000000,
@@ -273,6 +283,10 @@ typedef struct
uint32_t core_blockwu;
// core in block entry mode, can be used as core select in scom address or data
uint32_t core_blockey;
+ // core in suspend wakeup mode, can be used as core select in scom address or data
+ uint32_t core_suspendwu;
+ // core in suspend entry mode, can be used as core select in scom address or data
+ uint32_t core_suspendey;
// core in special wakeup, can be used as core select in scom address or data
uint32_t core_in_spwu;
// core in error state, prevent it being further processed
OpenPOWER on IntegriCloud