summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Still <stillgs@us.ibm.com>2018-03-01 11:30:05 -0600
committerhostboot <hostboot@us.ibm.com>2018-03-22 14:04:56 -0500
commit3fa2fc82bb6175eba55d24199439b6218a3763d8 (patch)
tree4000fa09e55b35628be26af05a8cbcc55189cb1c
parent1eca12e980eb3efdf049ad38a9e8852ecd3d693b (diff)
downloadtalos-hcode-3fa2fc82bb6175eba55d24199439b6218a3763d8.tar.gz
talos-hcode-3fa2fc82bb6175eba55d24199439b6218a3763d8.zip
PM: clear CPMM Error register special wake-up protocol bits on hostboot core
Key_Cronus_Test=PM_REGRESS Change-Id: Ic754b8584c3f9c3d5d331f370719932bf4783f39 CQ: SW419468 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54940 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@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> Reviewed-by: YUE DU <daviddu@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_init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_init.c b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_init.c
index ae06639b..0fd3f99e 100644
--- a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_init.c
+++ b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_sgpe_stop_init.c
@@ -581,6 +581,11 @@ p9_sgpe_stop_init()
{
GPE_PUTSCOM(GPE_SCOM_ADDR_CORE(PPM_SPWKUP_OTR,
((qloop << 2) + (xloop << 1) + cloop)), 0);
+ // Clear the CPPM error register bits as we just violated
+ // the special wake-up protocol of dropping special
+ // wake-up without a done
+ GPE_PUTSCOM(GPE_SCOM_ADDR_CORE(PPM_ERROR,
+ ((qloop << 2) + (xloop << 1) + cloop)), BITS64(1, 2));
}
}
}
OpenPOWER on IntegriCloud