diff options
Diffstat (limited to 'src/usr/diag/prdf/common/plat/p9/prdfCommonPlugins.C')
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/prdfCommonPlugins.C | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/src/usr/diag/prdf/common/plat/p9/prdfCommonPlugins.C b/src/usr/diag/prdf/common/plat/p9/prdfCommonPlugins.C index ea2565edb..c25f131b8 100644 --- a/src/usr/diag/prdf/common/plat/p9/prdfCommonPlugins.C +++ b/src/usr/diag/prdf/common/plat/p9/prdfCommonPlugins.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016,2017 */ +/* Contributors Listed Below - COPYRIGHT 2016,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -103,44 +103,6 @@ int32_t ClearServiceCallFlag_mnfgInfo( ExtensibleChip * i_chip, PRDF_PLUGIN_DEFINE_NS(p9_nimbus, CommonPlugins, ClearServiceCallFlag_mnfgInfo); PRDF_PLUGIN_DEFINE_NS(p9_cumulus, CommonPlugins, ClearServiceCallFlag_mnfgInfo); -/** - * @brief PRD will perform error isolation for certain errors that may cause - * a HWP to fail. - * @param i_chip PROC or MCA - * @param i_sc Step code data struct - * @returns SUCCESS always - */ -int32_t HwpErrorIsolation( ExtensibleChip * i_chip, - STEP_CODE_DATA_STRUCT & io_sc ) -{ - #if defined (__HOSTBOOT_MODULE) && !defined(__HOSTBOOT_RUNTIME) - - TargetHandle_t trgt = i_chip->getTrgt(); - uint32_t plid = trgt->getAttr<ATTR_PRD_HWP_PLID>(); - - // Check for non-zero value in PLID attribute - if ( 0 != plid ) - { - // Link HWP PLID to PRD error log - errlHndl_t errl = - ServiceGeneratorClass::ThisServiceGenerator().getErrl(); - errl->plid(plid); - - // Make the error log and callouts predictive - io_sc.service_data->setServiceCall(); - - // Clear PRD_HWP_PLID attribute - trgt->setAttr<ATTR_PRD_HWP_PLID>( 0 ); - } - - #endif - - return SUCCESS; -} -PRDF_PLUGIN_DEFINE_NS(p9_nimbus, CommonPlugins, HwpErrorIsolation); -PRDF_PLUGIN_DEFINE_NS(p9_cumulus, CommonPlugins, HwpErrorIsolation); -PRDF_PLUGIN_DEFINE_NS(p9_mca, CommonPlugins, HwpErrorIsolation); - } // namespace CommonPlugins ends }// namespace PRDF ends |