summaryrefslogtreecommitdiffstats
path: root/src/import/chips
diff options
context:
space:
mode:
authorLi Meng <shlimeng@cn.ibm.com>2018-12-11 03:43:22 -0600
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-02-13 10:10:11 -0600
commit4e3054b31ad3df65d542e9c6432ec33cf538b521 (patch)
tree86dffa55ee9a53ef33523e87c4c7b8770571950f /src/import/chips
parentbccafb637f1788384bf9edead24f7713f23ca47c (diff)
downloadtalos-hostboot-4e3054b31ad3df65d542e9c6432ec33cf538b521.tar.gz
talos-hostboot-4e3054b31ad3df65d542e9c6432ec33cf538b521.zip
Adds workaround for LRDIMM to clear FIRs
Change-Id: Ie8e9633fa02d9408122a994358571121d7566c54 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69649 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69859 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/phy/mss_lrdimm_training.C6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/phy/mss_lrdimm_training.C b/src/import/chips/p9/procedures/hwp/memory/lib/phy/mss_lrdimm_training.C
index c3d4a08d1..775711f4d 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/phy/mss_lrdimm_training.C
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/phy/mss_lrdimm_training.C
@@ -316,6 +316,12 @@ fapi2::ReturnCode mrep::post_workaround( const fapi2::Target<fapi2::TARGET_TYPE_
FAPI_TRY( mss::dp16::write_force_dq_capture(i_target, mss::states::OFF),
"%s failed to write exit dq capture", mss::c_str(i_target) );
+#ifdef LRDIMM_CAPABLE
+ // Clears the FIR's that can get set by training
+ // They're not real, so we want to clear them and move on
+ FAPI_TRY(mss::training::lrdimm::workarounds::clear_firs(i_target), "%s failed to clear FIRs", mss::c_str(i_target));
+#endif
+
fapi_try_exit:
return fapi2::current_err;
}
OpenPOWER on IntegriCloud