summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2018-02-01 09:02:12 -0600
committerhostboot <hostboot@us.ibm.com>2018-03-22 14:05:59 -0500
commitbd66f63b24a2bd36c171f14599d0b076d94055ce (patch)
treec8024db00b4b17596db76556c16346a7b1046419
parentb20ca2b33f13ad31aca6c29eda186dfb9393a617 (diff)
downloadtalos-hcode-bd66f63b24a2bd36c171f14599d0b076d94055ce.tar.gz
talos-hcode-bd66f63b24a2bd36c171f14599d0b076d94055ce.zip
STOP: Always disable AUTO-SPWU upon CME Boot
Key_Cronus_Test=PM_REGRESS Change-Id: If47166f17dca5bf44e706a859c98f6d461f5f5bf CQ: SW416035 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53166 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
-rw-r--r--import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_init.c b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_init.c
index 9d232b45..c9bca6b7 100644
--- a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_init.c
+++ b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_init.c
@@ -139,6 +139,9 @@ p9_cme_stop_init()
out32(CME_LCL_EIPR_CLR, (G_cme_stop_record.core_in_spwu << SHIFT32(15)));
out32(CME_LCL_EIPR_OR, (((~G_cme_stop_record.core_in_spwu) & CME_MASK_BC) << SHIFT32(15)));
+ PK_TRACE("Assert auto spwu disable, disable auto spwu via LMCR[12/13]");
+ out32(CME_LCL_LMCR_OR, BITS32(12, 2));
+
PK_TRACE_DBG("Setup: Umask STOP Interrupts Now Based on Entry_First Flag");
// unmask db1 for block stop protocol
out32_sh(CME_LCL_EIMR_CLR, (CME_MASK_BC << SHIFT64SH(41)));
OpenPOWER on IntegriCloud