Skip to content

Commit

Permalink
STOP: Give SGPE control over VDM, DPLL before turning off Jump protec…
Browse files Browse the repository at this point in the history
…t 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>
  • Loading branch information
vanderp authored and op-jenkins committed Aug 22, 2018
1 parent 165be79 commit 0999eb2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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");

Expand Down

0 comments on commit 0999eb2

Please sign in to comment.