diff options
| author | Brian Vanderpool <vanderp@us.ibm.com> | 2017-07-18 12:52:38 -0500 |
|---|---|---|
| committer | hostboot <hostboot@us.ibm.com> | 2018-08-22 17:55:08 -0500 |
| commit | 0999eb2d7378fbc6f7631bbd4d61c0a465386a5c (patch) | |
| tree | 97f7a79a6c02462f3a05e95bce07f1e779ee2d88 | |
| parent | 165be7914dd4df0920d99a816da4e11d56d14860 (diff) | |
| download | talos-hcode-0999eb2d7378fbc6f7631bbd4d61c0a465386a5c.tar.gz talos-hcode-0999eb2d7378fbc6f7631bbd4d61c0a465386a5c.zip | |
STOP: Give SGPE control over VDM, DPLL before turning off Jump protect and VDMs
Change-Id: Ibb1203dfb86177a2e6b1e64dfced0e4b3c3329e0
Original-Change-Id: Ic86154598c8465f1cd6e82a619e327e25786a30c
CQ: SW396192
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43282
Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com>
Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
| -rw-r--r-- | import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_entry.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_entry.c b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_entry.c index 9970843a..d231425f 100644 --- a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_entry.c +++ b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_entry.c @@ -974,6 +974,10 @@ p9_sgpe_stop_entry() PK_TRACE("Checking status of Local Checkstop"); GPE_GETSCOM(GPE_SCOM_ADDR_QUAD(EQ_LOCAL_XSTOP_ERR, qloop), local_xstop); + PK_TRACE("Drop CME_INTERPPM_IVRM/ACLK/VDATA/DPLL_ENABLE QPMMR[20,22,24,26]"); + GPE_PUTSCOM(GPE_SCOM_ADDR_QUAD(QPPM_QPMMR_CLR, qloop), BIT64(20) | BIT64(22) | BIT64(24) | BIT64(26)); + + if(pSgpeImgHdr->g_sgpe_reserve_flags & SGPE_VDM_ENABLE_BIT_POS) { PK_TRACE("Clear Jump Protect Enable (no need to poll DPLL_STAT"); @@ -1028,8 +1032,6 @@ p9_sgpe_stop_entry() // Note: Stop11 will lose all the fences so here needs to assert them GPE_PUTSCOM(GPE_SCOM_ADDR_QUAD(EQ_CPLT_CTRL1_OR, qloop), CLK_REGION_ALL); - PK_TRACE("Drop CME_INTERPPM_DPLL_ENABLE after DPLL is stopped via QPMMR[26]"); - GPE_PUTSCOM(GPE_SCOM_ADDR_QUAD(QPPM_QPMMR_CLR, qloop), BIT64(20) | BIT64(22) | BIT64(24) | BIT64(26)); PK_TRACE_INF("SE.11D: Cache Clock Stopped"); |

