summaryrefslogtreecommitdiffstats
path: root/import
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2017-09-07 10:45:24 -0500
committerhostboot <hostboot@us.ibm.com>2018-08-22 17:55:22 -0500
commit7e6359852b9c99d8554e3e0d5603109c0c91dcdd (patch)
treecf86a6a68676082b19bb1ff0e889ebd39725293e /import
parent16c90472bc44b22c84fcd627660c51e800cf9644 (diff)
downloadtalos-hcode-7e6359852b9c99d8554e3e0d5603109c0c91dcdd.tar.gz
talos-hcode-7e6359852b9c99d8554e3e0d5603109c0c91dcdd.zip
STOP: Fix VDM
Change-Id: I5c9455647588ea3e1415efbbcba49838a352f1fc Original-Change-Id: I025462496b919fc9fc09b558bb7d3616d5df7df2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45796 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Diffstat (limited to 'import')
-rw-r--r--import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_entry.c5
1 files changed, 3 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 aaa2e4f8..5fd077ae 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
@@ -963,9 +963,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);
- // PGPE is in charge of bit26: DPLL_ENABLE
+ // PGPE may have already cleared bit26: DPLL_ENABLE if booted,
+ // but SGPE can always do it in case PGPE isnt booted
PK_TRACE("Drop CME_INTERPPM_IVRM/ACLK/VDATA_ENABLE via QPMMR[20,22,24]");
- GPE_PUTSCOM(GPE_SCOM_ADDR_QUAD(QPPM_QPMMR_CLR, qloop), BIT64(20) | BIT64(22) | BIT64(24));
+ 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)
{
OpenPOWER on IntegriCloud