Skip to content

Commit

Permalink
Add unmask_after_exp_omi_setup and FIR checks
Browse files Browse the repository at this point in the history
Adds FIR checks for BOOT_CONFIG_1 fails exp_omi_train
Adds disabled FIR checks for BOOT_CONFIG_0 fails until
FIR register availability is understood for that type of fail

Change-Id: Ice99fbf0f59ddb9cca809b9f70e39fa929a1ef16
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/90851
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Mark Pizzutillo <mark.pizzutillo@ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Dev-Ready: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/91574
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
  • Loading branch information
stermole authored and RAJA DAS committed Feb 27, 2020
1 parent 547f0a2 commit c318ab0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
Expand Up @@ -58,5 +58,4 @@ static const uint64_t P9A_MC_REG0_OMI_FIR_ACTION1 = 0x
static const uint64_t P9A_MC_REG0_OMI_FIR_MASK_AND = 0x07013344ull;
static const uint64_t P9A_MC_REG0_OMI_FIR_MASK_OR = 0x07013345ull;


#endif
22 changes: 21 additions & 1 deletion src/import/generic/memory/lib/utils/mss_generic_check.H
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER sbe Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2018,2019 */
/* Contributors Listed Below - COPYRIGHT 2018,2020 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -49,6 +49,26 @@ namespace mss
namespace check
{
#ifndef __PPE__
///
/// @brief Helper function to log an error as related if needed
/// @tparam T the target type on which to log the error
/// @param[in] i_target - the target to log the error on
/// @param[in] i_fir_error - true IFF a fir is present on the passed in target
/// @param[in,out] io_rc - the return code to log
///
template< fapi2::TargetType T >
inline void log_fir_helper( const fapi2::Target<T>& i_target,
const bool i_fir_error,
fapi2::ReturnCode& io_rc)
{
if(i_fir_error && (io_rc != fapi2::FAPI2_RC_SUCCESS))
{
fapi2::log_related_error(i_target, io_rc, fapi2::FAPI2_ERRL_SEV_RECOVERED);

io_rc = fapi2::FAPI2_RC_SUCCESS;
}
}

///
/// @brief Checks whether any FIRs have lit up on a target
/// @tparam MC MC type for which to check FIR's
Expand Down

0 comments on commit c318ab0

Please sign in to comment.