summaryrefslogtreecommitdiffstats
path: root/src/sbefw/app/power
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbefw/app/power')
-rw-r--r--src/sbefw/app/power/ipl_table.C53
1 files changed, 28 insertions, 25 deletions
diff --git a/src/sbefw/app/power/ipl_table.C b/src/sbefw/app/power/ipl_table.C
index 2be84ca8..6cdda196 100644
--- a/src/sbefw/app/power/ipl_table.C
+++ b/src/sbefw/app/power/ipl_table.C
@@ -807,23 +807,24 @@ ReturnCode istepWithExL2Flush( voidfuncptr_t i_hwp)
break;
}
// check the position of EX i.e. Ex0 or Ex1
- if(l2IsScomable[((exTgt.getChipletNumber()) % 2)])
+ if(!(l2IsScomable[((exTgt.getChipletNumber()) % 2)]))
{
- p9core::purgeData_t l_purgeData;
- SBE_EXEC_HWP(rc,
- reinterpret_cast<sbeIstepHwpExL2Flush_t>(i_hwp),
- exTgt,
- l_purgeData)
- if(rc != FAPI2_RC_SUCCESS)
- {
- SBE_ERROR(SBE_FUNC " p9_l2_flush failed, RC=[0x%08X]", rc);
- break;
- }
+ SBE_INFO(SBE_FUNC "Ex chipletId [%d] not l2 scomable, so no purge",
+ exTgt.getChipletNumber());
+ // TODO via RTC 191254
+ // Enable this code back once stop states are enabled
+ // This is temporary hack to debug SW422447
+ // continue;
}
- else
+ p9core::purgeData_t l_purgeData;
+ SBE_EXEC_HWP(rc,
+ reinterpret_cast<sbeIstepHwpExL2Flush_t>(i_hwp),
+ exTgt,
+ l_purgeData)
+ if(rc != FAPI2_RC_SUCCESS)
{
- SBE_INFO(SBE_FUNC "Ex chipletId [%d] not l2 scomable, so no purge",
- exTgt.getChipletNumber());
+ SBE_ERROR(SBE_FUNC " p9_l2_flush failed, RC=[0x%08X]", rc);
+ break;
}
}
SBE_EXIT(SBE_FUNC);
@@ -863,20 +864,22 @@ ReturnCode istepWithExL3Flush( voidfuncptr_t i_hwp)
}
// check the position of EX i.e. Ex0 or Ex1
- if(l3IsScomable[((exTgt.getChipletNumber()) % 2)])
+ if(!(l3IsScomable[((exTgt.getChipletNumber()) % 2)]))
{
- SBE_EXEC_HWP(rc, reinterpret_cast<sbeIstepHwpExL3Flush_t>(i_hwp),
- exTgt, L3_FULL_PURGE, 0x0)
- if(rc != FAPI2_RC_SUCCESS)
- {
- SBE_ERROR(SBE_FUNC " p9_l3_flush failed, RC=[0x%08X]", rc);
- break;
- }
+ SBE_INFO(SBE_FUNC "Ex chipletId [%d] not l3 scomable, so no purge",
+ exTgt.getChipletNumber());
+ // TODO via RTC 191254
+ // Enable this code back once stop states are enabled
+ // This is temporary hack to debug SW422447
+ // continue;
}
- else
+
+ SBE_EXEC_HWP(rc, reinterpret_cast<sbeIstepHwpExL3Flush_t>(i_hwp),
+ exTgt, L3_FULL_PURGE, 0x0)
+ if(rc != FAPI2_RC_SUCCESS)
{
- SBE_INFO(SBE_FUNC "Ex chipletId [%d] not l2 scomable, so no purge",
- exTgt.getChipletNumber());
+ SBE_ERROR(SBE_FUNC " p9_l3_flush failed, RC=[0x%08X]", rc);
+ break;
}
}
SBE_EXIT(SBE_FUNC);
OpenPOWER on IntegriCloud