summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2018-09-12 18:01:03 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2018-09-17 05:25:06 -0500
commit16fde70421d845b2789b433b9e97e459c3ac77ec (patch)
treebfbf5480fcbcc3ddb59cdc3dba5e9e9bc238078b
parentda99f39710df224314573b411f0fd5ca8743c743 (diff)
downloadtalos-sbe-16fde70421d845b2789b433b9e97e459c3ac77ec.tar.gz
talos-sbe-16fde70421d845b2789b433b9e97e459c3ac77ec.zip
IPL/STOP: Disable LCO when only two EXes are configured
Key_Cronus_Test=PM_REGRESS Change-Id: I168f03dbd45da9da1c7f80e37ea508d7b56deec4 CQ: HW463903 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66065 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: LUKE MURRAY <murrayl@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Jenny Huynh <jhuynh@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66066 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
-rw-r--r--src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_scominit.C14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_scominit.C b/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_scominit.C
index a0c8784f..aa85d758 100644
--- a/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_scominit.C
+++ b/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_scominit.C
@@ -224,25 +224,13 @@ p9_hcd_cache_scominit(
FAPI_TRY(getScom(*l_iter, EX_L3_MODE_REG1, l_data64));
l_data64.insertFromRight<2, 4>(l_exid).insertFromRight<6, 16>(l_exlist);
- if (l_attr_sys_force_all_cores && (l_excount > 1))
+ if (l_attr_sys_force_all_cores && (l_excount > 2))
{
l_data64.setBit<0>();
}
FAPI_TRY(putScom(*l_iter, EX_L3_MODE_REG1, l_data64));
- FAPI_TRY(getScom(*l_iter, EX_L3_MODE_REG0, l_data64));
-
- if (l_excount == 2)
- {
- FAPI_DBG("Assert L3_DYN_LCO_BLK_DIS_CFG on TARGET_ID[%d] via EX_L3_MODE_REG0[9]", l_exid);
- FAPI_TRY(putScom(*l_iter, EX_L3_MODE_REG0, DATA_SET(9)));
- }
- else
- {
- FAPI_DBG("Drop L3_DYN_LCO_BLK_DIS_CFG on TARGET_ID[%d] via EX_L3_MODE_REG0[9]", l_exid);
- FAPI_TRY(putScom(*l_iter, EX_L3_MODE_REG0, DATA_UNSET(9)));
- }
}
FAPI_DBG("Enable DTS via THERM_MODE_REG[5,6-9,20-21]");
OpenPOWER on IntegriCloud