summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaja Das <rajadas2@in.ibm.com>2018-04-24 00:01:03 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2018-05-04 01:12:16 -0400
commit104a5bd096f7650cca65f601197b7b1df7238407 (patch)
tree9c72740c07c4622bebd660da53dc87577d6f3ee4
parent34332987f42c5e806dc15d87de9bb79305a5c95b (diff)
downloadtalos-sbe-104a5bd096f7650cca65f601197b7b1df7238407.tar.gz
talos-sbe-104a5bd096f7650cca65f601197b7b1df7238407.zip
Tempopary fix to fail MPIPL if Cache is not scommable
Fail mpipl if any of the L2/L3 cache is not scommable, because of which sbe is going to skip cache purge. This is keep to the system in fail state so that data can be captured from registers to understand the system behaviour for Defect SW423680 Change-Id: Ieb9063f1f25fff0059514e58de0e4bb1d04fe400 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57708 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
-rw-r--r--src/sbefw/app/power/ipl_table.C8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sbefw/app/power/ipl_table.C b/src/sbefw/app/power/ipl_table.C
index c282d151..2281e6e7 100644
--- a/src/sbefw/app/power/ipl_table.C
+++ b/src/sbefw/app/power/ipl_table.C
@@ -815,6 +815,10 @@ ReturnCode istepWithExL2Flush( voidfuncptr_t i_hwp)
// Enable this code back once stop states are enabled
// This is temporary hack to debug SW422447
// continue;
+ SBE_ERROR(SBE_FUNC "Ex chipletId [%d] not l2 scomable, so no purge",
+ exTgt.getChipletNumber());
+ rc = fapi2::FAPI2_RC_PLAT_ERR_SEE_DATA | 0x11;
+ break;
}
p9core::purgeData_t l_purgeData;
SBE_EXEC_HWP(rc,
@@ -872,6 +876,10 @@ ReturnCode istepWithExL3Flush( voidfuncptr_t i_hwp)
// Enable this code back once stop states are enabled
// This is temporary hack to debug SW422447
// continue;
+ SBE_INFO(SBE_FUNC "Ex chipletId [%d] not l2 scomable, so no purge",
+ exTgt.getChipletNumber());
+ rc = fapi2::FAPI2_RC_PLAT_ERR_SEE_DATA | 0x12;
+ break;
}
SBE_EXEC_HWP(rc, reinterpret_cast<sbeIstepHwpExL3Flush_t>(i_hwp),
OpenPOWER on IntegriCloud