summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2018-05-11 01:37:57 -0500
committerhostboot <hostboot@us.ibm.com>2018-05-18 10:29:28 -0500
commitd6b88e67ff4d73392e28a8d13c9a92f8cdd4fc88 (patch)
tree3adb58283e60bfefb9cd9528fd081cf6817a8895
parent85ecbf71967e37b6cfb06ebd50a2dc4dd3547f9a (diff)
downloadtalos-hcode-d6b88e67ff4d73392e28a8d13c9a92f8cdd4fc88.tar.gz
talos-hcode-d6b88e67ff4d73392e28a8d13c9a92f8cdd4fc88.zip
STOP: Fix History Write Data Machine Check by PPM_WRITE_DISABLE
Key_Cronus_Test=PM_REGRESS Change-Id: Id0e6ccfec61ab2c6cf03fe58523d4610dc9d5ccd CQ: SW428789 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58688 Dev-Ready: YUE DU <daviddu@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> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
-rwxr-xr-ximport/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c
index 662c5461..2b331fff 100755
--- a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c
+++ b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c
@@ -1565,6 +1565,13 @@ p9_cme_stop_entry()
scom_data.words.upper = SSH_ACT_LV5_CONTINUE;
CME_PUTSCOM(PPM_SSHSRC, core, scom_data.value);
+#if NIMBUS_DD_LEVEL != 10
+
+ PK_TRACE("Drop PPM_WRITE_DISABLE via CPMMR[0]");
+ CME_PUTSCOM(CPPM_CPMMR_CLR, core, BIT64(0));
+
+#endif
+
PK_TRACE("Send PCB interrupt per core via PIG, select irq type via CPMMR[10]");
for (core_mask = 2; core_mask; core_mask--)
@@ -1625,13 +1632,6 @@ p9_cme_stop_entry()
PK_TRACE("Clear special/regular wakeup after wakeup_notify = 1 since it is edge triggered");
out32(CME_LCL_EISR_CLR, (core << SHIFT32(15)) | (core << SHIFT32(17)));
-#if NIMBUS_DD_LEVEL != 10
-
- PK_TRACE("Drop PPM_WRITE_DISABLE via CPMMR[0]");
- CME_PUTSCOM(CPPM_CPMMR_CLR, core, BIT64(0));
-
-#endif
-
PK_TRACE_INF("SE.5B: Core[%d] Handed off to SGPE", core);
}
OpenPOWER on IntegriCloud