summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThi Tran <thi@us.ibm.com>2018-03-15 12:54:43 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-03-16 14:28:58 -0400
commitcc1ac14babe21d001776d334feaa8eedcdc325b7 (patch)
treefdb59ef2b91d4088666c67f8c3dd1989152c3e7a /src
parent8692b24a1ec04118db45555886f497ae9fe7a374 (diff)
downloadtalos-hostboot-cc1ac14babe21d001776d334feaa8eedcdc325b7.tar.gz
talos-hostboot-cc1ac14babe21d001776d334feaa8eedcdc325b7.zip
Fix MFG P9 ZZ: BC70E540 (MCFIR[8]) command list timeout
Change-Id: I14fdaaee2c5d8d877288f0c8bb68ecdb7f8bc359 CQ: SW421234 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55930 Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Jenny Huynh <jhuynh@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55938 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/p9/procedures/hwp/nest/p9_revert_sbe_mcs_setup.C8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/nest/p9_revert_sbe_mcs_setup.C b/src/import/chips/p9/procedures/hwp/nest/p9_revert_sbe_mcs_setup.C
index 4dea18406..3d43aad5a 100644
--- a/src/import/chips/p9/procedures/hwp/nest/p9_revert_sbe_mcs_setup.C
+++ b/src/import/chips/p9/procedures/hwp/nest/p9_revert_sbe_mcs_setup.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2017 */
+/* Contributors Listed Below - COPYRIGHT 2015,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -97,6 +97,8 @@ const uint64_t MCS_MCFIRMASK_OR_ARR[NUM_MCS_MI_TARGETS] =
MCS_3_MCFIRMASK_OR
};
+const uint64_t MCS_MCMODE1_DISABLE_SPEC_OP_DCBF_BIT = 45;
+
//------------------------------------------------------------------------------
// Function definitions
//------------------------------------------------------------------------------
@@ -162,6 +164,10 @@ revert_mc_hb_dcbz_config(
l_mcmode1.clearBit<MCS_MCMODE1_DISABLE_ALL_SPEC_OPS>();
l_mcmode1.clearBit<MCS_MCMODE1_DISABLE_SPEC_OP,
MCS_MCMODE1_DISABLE_SPEC_OP_LEN>();
+
+ // We need to set dcbf bit
+ l_mcmode1.setBit<MCS_MCMODE1_DISABLE_SPEC_OP_DCBF_BIT>();
+
l_mcmode1.clearBit<MCS_MCMODE1_DISABLE_COMMAND_BYPASS,
MCS_MCMODE1_DISABLE_COMMAND_BYPASS_LEN>();
l_mcmode1.clearBit<MCS_MCMODE1_DISABLE_FP_COMMAND_BYPASS>();
OpenPOWER on IntegriCloud