summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2018-09-12 18:01:03 -0500
committerhostboot <hostboot@us.ibm.com>2018-09-15 10:33:24 -0500
commit81d08fdcddec30b2afa34fd4e870444e0000e3fb (patch)
tree2ed19a8848cf8dac3d57ebc72281fffe2c2e59fe
parent3850f5347cb24eb642d08f333556cc164e6ce5b0 (diff)
downloadtalos-hcode-81d08fdcddec30b2afa34fd4e870444e0000e3fb.tar.gz
talos-hcode-81d08fdcddec30b2afa34fd4e870444e0000e3fb.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>
-rw-r--r--import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_hcd_cache_scominit.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_hcd_cache_scominit.c b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_hcd_cache_scominit.c
index 0580293d..07dc24a6 100644
--- a/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_hcd_cache_scominit.c
+++ b/import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/p9_hcd_cache_scominit.c
@@ -103,7 +103,7 @@ p9_hcd_cache_scominit(uint32_t quad, uint32_t m_ex, int is_stop8)
scom_data.words.upper |= ((quad << SHIFT32(4)) | (ex_index << SHIFT32(5)));
scom_data.words.upper |= ((qcsr.value & BITS32(0, 12)) >> 6);
- if (ex_count > 1)
+ if (ex_count > 2)
{
PK_TRACE("Assert L3_LCO_ENABLE_CFG via EX_L3_MODE_REG1[0]");
scom_data.words.upper |= BIT32(0);
@@ -153,17 +153,6 @@ p9_hcd_cache_scominit(uint32_t quad, uint32_t m_ex, int is_stop8)
#endif
- if (ex_count == 2)
- {
- PK_TRACE("Assert L3_DYN_LCO_BLK_DIS_CFG via EX_L3_MODE_REG0[9]");
- scom_data.words.upper |= BIT32(9);
- }
- else
- {
- PK_TRACE("Drop L3_DYN_LCO_BLK_DIS_CFG via EX_L3_MODE_REG0[9]");
- scom_data.words.upper &= ~BIT32(9);
- }
-
if (addr_extension != 0)
{
scom_data.words.upper |= (((uint32_t) addr_extension) >> 7);
OpenPOWER on IntegriCloud