diff options
author | crgeddes <crgeddes@us.ibm.com> | 2017-01-13 09:56:07 -0600 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2017-01-14 11:21:25 -0500 |
commit | 837c296ee7a641e285d5f9e8b780e9f9c49aa06b (patch) | |
tree | a66d1cf59eb7502d1400432f7172094c323fa831 | |
parent | 52fbccb016298da9efd209a39444149b5a1a8e1a (diff) | |
download | talos-hostboot-837c296ee7a641e285d5f9e8b780e9f9c49aa06b.tar.gz talos-hostboot-837c296ee7a641e285d5f9e8b780e9f9c49aa06b.zip |
Insert workaround for issue with memdiags
For the sake of getting started running plckIPLRequests we are
insertting this workaround. It needs to be removed
Change-Id: I99d5fa0ae3613ef1b4b77a6c6af81750a0a76d26
RTC: 167292
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34837
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Dean Sanner <dsanner@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
-rw-r--r-- | src/usr/isteps/istep13/call_mss_draminit_mc.C | 18 |
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(); |