diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-04-12 00:39:58 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-04-12 07:41:42 -0400 |
commit | 828b280acceba61d6e8b5b01016dc50aa9567bc3 (patch) | |
tree | eaa78b6607df93c4b25eb372960c875106504bc3 /src/sbefw | |
parent | 6415b1f1bc293f75101320885664320ba5d7a5f2 (diff) | |
download | talos-sbe-828b280acceba61d6e8b5b01016dc50aa9567bc3.tar.gz talos-sbe-828b280acceba61d6e8b5b01016dc50aa9567bc3.zip |
Disable scom state checking in L2/L3 flush in MPIPL
Change-Id: I0e7883bd5ff835fe3797eec1187cf6c973b29ec6
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57094
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/sbefw')
-rw-r--r-- | src/sbefw/app/power/ipl_table.C | 53 |
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); |