summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/isteps/istep13/call_mss_draminit_mc.C18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/usr/isteps/istep13/call_mss_draminit_mc.C b/src/usr/isteps/istep13/call_mss_draminit_mc.C
index 2a5ca1eed..4a80a28dd 100644
--- a/src/usr/isteps/istep13/call_mss_draminit_mc.C
+++ b/src/usr/isteps/istep13/call_mss_draminit_mc.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2016 */
+/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -104,6 +104,22 @@ void* call_mss_draminit_mc (void *io_pArgs)
} // End; memBuf loop
+
+ //TODO RTC:167292 Remove this workaround that is clearing this scom register
+ fapi2::buffer<uint64_t> l_data64;
+ l_data64.flush<0>();
+ // Get all MCAs
+ TARGETING::TargetHandleList l_mcaTargetList;
+ getAllChiplets(l_mcaTargetList, TYPE_MCA);
+
+ //Clear out the MBA_FARB3Q reg(0x7010916) on all MCAs
+ for (const auto & l_mca_target : l_mcaTargetList)
+ {
+ fapi2::Target<fapi2::TARGET_TYPE_MCA> l_fapi_mca_target
+ (l_mca_target);
+ fapi2::putScom(l_fapi_mca_target, 0x7010916, l_data64);
+ }
+
TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_mss_draminit_mc exit" );
return l_stepError.getErrorHandle();
OpenPOWER on IntegriCloud