diff options
author | Tsung Yeung <tyeung@us.ibm.com> | 2019-03-10 18:09:10 -0400 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-03-25 15:52:02 -0500 |
commit | da2c809979091a0ac936940d60757684f49562b4 (patch) | |
tree | fe05cc1ee910f0444c6b760e15018b23466246ab /src/import/chips/p9/procedures/hwp/memory/lib/mc | |
parent | 7c067d46c2f7033c20099e21b559130ee9b63a00 (diff) | |
download | talos-hostboot-da2c809979091a0ac936940d60757684f49562b4.tar.gz talos-hostboot-da2c809979091a0ac936940d60757684f49562b4.zip |
Suppresses maintenance error messages due to STR exit
-Modify self_refresh_exit_helper() to be less intrusive
-Disable ECC checking and mask complete bits
Change-Id: I1f4e2ee18c2f3b47abfddbb0ceeb6dd2776caab3
CQ:SW458493
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73109
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73113
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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/mc')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/mc/port.H | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.H b/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.H index 1f5f06f43..252ebc5a9 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.H @@ -284,7 +284,20 @@ class portTraits<mss::mc_type::NIMBUS> }; +/// +/// @brief Sets ecc_check_disable in buffer +/// @tparam T the fapi2 target type of the target +/// @tparam TT the class traits for the port +/// @param[in,out] io_data the target data buffer +/// @param[in] i_value ECC_CHECK_DISABLE value (on or off) to set +/// +template< fapi2::TargetType T = fapi2::TARGET_TYPE_MCA, typename TT = portTraits<mss::mc_type::NIMBUS> > +void set_ecc_check_disable( fapi2::buffer<uint64_t>& io_data, const mss::states i_value ) +{ + FAPI_INF( "Set ECC_CHECK_DISABLE to %lu", i_value); + io_data.template writeBit<TT::ECC_CHECK_DISABLE>(i_value); +} /// /// @brief Get the read pointer delay value from RECR |