summaryrefslogtreecommitdiffstats
path: root/import/chips/p9
diff options
context:
space:
mode:
authorGreg Still <stillgs@us.ibm.com>2018-09-26 12:40:03 -0500
committerhostboot <hostboot@us.ibm.com>2018-10-06 10:49:32 -0500
commit962e9921c88bd00d79c4d77dbfbda9e5a3d3e208 (patch)
treefd467f52c09a1208af0aefcc45ff6ef70777a271 /import/chips/p9
parente995520aa797a81cac510b6e1a01475dfdb1a6f6 (diff)
downloadtalos-hcode-962e9921c88bd00d79c4d77dbfbda9e5a3d3e208.tar.gz
talos-hcode-962e9921c88bd00d79c4d77dbfbda9e5a3d3e208.zip
SMF: clear HRMOR[15] in all modes so that secure mode won't hang core
Key_Cronus_Test=PM_REGRESS Change-Id: I26a98dfce1eb8123c79b35f2f4dc1783e16e411e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66687 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'import/chips/p9')
-rw-r--r--import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_exit.c2
1 files changed, 2 insertions, 0 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 a5c3317d..9fbac710 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
@@ -1151,6 +1151,8 @@ p9_cme_stop_exit()
#else
PK_TRACE_PERF("Core Wakes Up, Write HRMOR with HOMER address");
+ // Must not set bit 15 in HRMOR
+ scom_data.words.upper = scom_data.words.upper & ~BIT32(15);
CME_PUTSCOM(HRMOR, core, scom_data.value);
#endif
OpenPOWER on IntegriCloud