summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2017-02-28 13:16:42 -0600
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 17:10:24 -0500
commit65fca8bb0a4b7836aa31aeb48fcdbb107f2f5127 (patch)
tree0fab230c8287e94986a0806980a666b765f30a41
parentcb194f50957fa4f0ef4152d1d2792a409c857965 (diff)
downloadtalos-hcode-65fca8bb0a4b7836aa31aeb48fcdbb107f2f5127.tar.gz
talos-hcode-65fca8bb0a4b7836aa31aeb48fcdbb107f2f5127.zip
STOP: add sync before change pcbmux status
Change-Id: I329aefa533ca67ac416888f18dcbf0142679e50e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37204 Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
-rw-r--r--import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_exit.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_exit.c b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_exit.c
index 58381ee2..8235ccb7 100644
--- a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_exit.c
+++ b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_exit.c
@@ -73,7 +73,7 @@ p9_cme_stop_exit_catchup(uint32_t* core,
if (core_catchup)
{
- // pcbmux grant
+ // request pcbmux grant
out32(CME_LCL_SICR_OR, (core_catchup << SHIFT32(11)));
// chtm purge done
out32(CME_LCL_EISR_CLR, (core_catchup << SHIFT32(25)));
@@ -848,6 +848,13 @@ STOP1_EXIT:
while((in32(CME_LCL_EINR)) & (core << SHIFT32(21)));
+#ifdef USE_PPE_IMPRECISE_MODE
+
+ // execute sync before change pcbmux to prevent queued scom issues
+ sync();
+
+#endif
+
PK_TRACE_INF("SX0.H: Release PCB Mux back to Core via SICR[10/11]");
out32(CME_LCL_SICR_CLR, core << SHIFT32(11));
OpenPOWER on IntegriCloud