diff options
author | Yue Du <daviddu@us.ibm.com> | 2018-02-23 09:57:34 -0600 |
---|---|---|
committer | hostboot <hostboot@us.ibm.com> | 2018-03-22 14:04:11 -0500 |
commit | c4298d3e3ec9f44fbc6d15b1157ad1369b9f5292 (patch) | |
tree | 0049660ca3694141bfb1353b6715671217bde7f5 /import/chips/p9/procedures/ppe_closed/cme/pstate_cme | |
parent | 23beea75bf21b835a4d87eee917416f2e3865554 (diff) | |
download | talos-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/pstate_cme')
-rw-r--r-- | import/chips/p9/procedures/ppe_closed/cme/pstate_cme/p9_cme_pstate.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/cme/pstate_cme/p9_cme_pstate.c b/import/chips/p9/procedures/ppe_closed/cme/pstate_cme/p9_cme_pstate.c index 4c9d3210..3e4275d7 100644 --- a/import/chips/p9/procedures/ppe_closed/cme/pstate_cme/p9_cme_pstate.c +++ b/import/chips/p9/procedures/ppe_closed/cme/pstate_cme/p9_cme_pstate.c @@ -76,6 +76,9 @@ int send_pig_packet(uint64_t data, uint32_t coreMask) int rc = 0; uint64_t data_tmp; + PkMachineContext ctx __attribute__((unused)); + pk_critical_section_enter(&ctx); + // First make sure no interrupt request is currently granted do { @@ -87,6 +90,8 @@ int send_pig_packet(uint64_t data, uint32_t coreMask) // Send PIG packet CME_PUTSCOM(PPM_PIG, coreMask, data); + pk_critical_section_exit(&ctx); + return rc; } |