path: root/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C
diff options
authorLouis Stermole <>2019-01-03 16:43:12 -0500
committerChristian R. Geddes <>2019-03-21 09:28:41 -0500
commit6bdf34b9fe0aa514f5568124b04bace00116216b (patch)
tree3a97587dc7c1e539fef96cc969440ff0c83c2782 /src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C
parent6b7bbd62febe39c597f405c28568a05d727ba37d (diff)
Add workaround for Nimbus symbol mark performance hw bug
This is the HWP portion of the fix for HW474117. When a symbol mark is placed, it activates the WAT bit to force exit-0 bypass disable in the ecc checker. It also masks the FIR attention bit for the WAT. Change-Id: I0516e19a623880d9ed659b2e7e0a89c6facb95cc CQ:SW453101 Reviewed-on: Tested-by: FSP CI Jenkins <> Tested-by: HWSV CI <> Tested-by: PPE CI <> Tested-by: Jenkins Server <> Tested-by: Hostboot CI <> Reviewed-by: STEPHEN GLANCY <> Reviewed-by: Mark Pizzutillo <> Reviewed-by: ANDRE A. MARIN <> Reviewed-by: Jennifer A. Stofer <> Reviewed-on: Tested-by: Jenkins OP Build CI <> Tested-by: Jenkins OP HW <> Reviewed-by: Christian R. Geddes <>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C')
1 files changed, 4 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C b/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C
index 5c1433bbe..939f1b029 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C
@@ -38,6 +38,7 @@
#include <lib/shared/mss_const.H>
#include <generic/memory/lib/utils/scom.H>
#include <lib/ecc/ecc.H>
+#include <lib/workarounds/mca_workarounds.H>
namespace mss
@@ -358,6 +359,9 @@ fapi2::ReturnCode place_symbol_mark(const fapi2::Target<fapi2::TARGET_TYPE_DIMM>
FAPI_TRY( mss::ecc::set_fwms(l_mca, i_rank, l_galois, mss::ecc::fwms::mark_type::SYMBOL,
mss::ecc::fwms::mark_region::MRANK, l_addr) );
+ // Apply workaround for HW474117 if we place a symbol mark
+ FAPI_TRY( mss::workarounds::disable_bypass(l_mca) );
return fapi2::current_err;
OpenPOWER on IntegriCloud