diff options
author | Benjamin Weisenbeck <bweisenb@us.ibm.com> | 2013-06-07 14:19:14 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-08-19 08:56:37 -0500 |
commit | bb62dfc53db824c61ea2e166f12b90ff597f0138 (patch) | |
tree | 2acbd68d7f9e3296edcd54d387490b013984dbae /src/usr/diag/prdf/plat/pegasus | |
parent | 8efaa82ce48d80d3bf134cdd6832aa798cbfa4c9 (diff) | |
download | talos-hostboot-bb62dfc53db824c61ea2e166f12b90ff597f0138.tar.gz talos-hostboot-bb62dfc53db824c61ea2e166f12b90ff597f0138.zip |
PRD: L2/L3 Line Delete and Column Repair
Change-Id: I2cc89a92c42a35795ac5de0a7eed0bec9280b2ab
RTC: 22859
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4899
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5751
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/plat/pegasus')
-rw-r--r-- | src/usr/diag/prdf/plat/pegasus/prdfPlatP8Ex.C | 146 |
1 files changed, 146 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/plat/pegasus/prdfPlatP8Ex.C b/src/usr/diag/prdf/plat/pegasus/prdfPlatP8Ex.C new file mode 100644 index 000000000..8c13b041f --- /dev/null +++ b/src/usr/diag/prdf/plat/pegasus/prdfPlatP8Ex.C @@ -0,0 +1,146 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/diag/prdf/plat/pegasus/prdfPlatP8Ex.C $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2012,2013 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ + +/** @file prdfP8Ex.C + * @brief Contains all the plugin code for the PRD P8 EX chiplet + */ + +#include <iipServiceDataCollector.h> +#include <prdfExtensibleChip.H> +#include <prdfPlatServices.H> +#include <prdfPluginMap.H> +#include <prdfCalloutUtil.H> + +namespace PRDF +{ +namespace Ex +{ +/** + * @brief Set the cause attention type to UNIT_CS for further analysis. + * @param i_chip Ex chip. + * @param i_sc Step Code data struct + * @return SUCCESS + */ +int32_t SetCoreCheckstopCause( ExtensibleChip * i_chip, + STEP_CODE_DATA_STRUCT & i_sc ) +{ + PRDF_ERR( "[SetCoreCheckstopCause] Unexpected attention in Hostboot: " + "HUID=0x%08x", i_chip->GetId() ); + CalloutUtil::defaultError( i_sc ); + return SUCCESS; +} PRDF_PLUGIN_DEFINE(Ex, SetCoreCheckstopCause); + +/** + * @brief No-op in hostboot + * @param i_chip Ex chip. + * @param i_sc Step Code data struct + * @return PRD return code + */ +int32_t CheckCoreCheckstop( ExtensibleChip * i_chip, + STEP_CODE_DATA_STRUCT & i_sc ) +{ + return SUCCESS; + +} PRDF_PLUGIN_DEFINE(Ex, CheckCoreCheckstop); + +/** + * @brief No-op in hostboot + * @param i_chip Ex chip. + * @param i_sc Step Code data struct + * @return PRD return code + */ +int32_t MaskIfCoreCheckstop( ExtensibleChip * i_chip, + STEP_CODE_DATA_STRUCT & i_sc ) +{ + return SUCCESS; +} PRDF_PLUGIN_DEFINE(Ex, MaskIfCoreCheckstop); + +/** + * @brief Restart Trace Arrays that have been stopped on error + * @param i_chip Ex chip. + * @param i_sc Step Code data struct + * @return PRD return code + */ +int32_t RestartTraceArray( ExtensibleChip * i_chip, + STEP_CODE_DATA_STRUCT & i_sc ) +{ + return SUCCESS; +} PRDF_PLUGIN_DEFINE(Ex, RestartTraceArray); + +/** + * @brief Handle an L3 UE + * @param i_chip Ex chip. + * @param i_sc Step Code data struct + * @return PRD return code + */ +int32_t L3UE( ExtensibleChip * i_chip, + STEP_CODE_DATA_STRUCT & i_sc ) +{ + return SUCCESS; + +} PRDF_PLUGIN_DEFINE(Ex, L3UE); + +/** + * @brief Handle an L3 CE + * @param i_chip Ex chip. + * @param i_sc Step Code data struct + * @return PRD return code + */ +int32_t L3CE( ExtensibleChip * i_chip, + STEP_CODE_DATA_STRUCT & i_sc ) +{ + PRDF_ERR( "[L3CE] Unexpected attention in Hostboot: " + "HUID=0x%08x", i_chip->GetId() ); + CalloutUtil::defaultError( i_sc ); + return SUCCESS; +} PRDF_PLUGIN_DEFINE(Ex, L3CE); + +/** + * @brief Handle an L2 UE + * @param i_chip Ex chip. + * @param i_sc Step Code data struct + * @return PRD return code + */ +int32_t L2UE( ExtensibleChip * i_chip, + STEP_CODE_DATA_STRUCT & i_sc ) +{ + return SUCCESS; +} PRDF_PLUGIN_DEFINE(Ex, L2UE); + +/** + * @brief Handle an L2 CE + * @param i_chip Ex chip. + * @param i_sc Step Code data struct + * @return PRD return code + */ +int32_t L2CE( ExtensibleChip * i_chip, + STEP_CODE_DATA_STRUCT & i_sc ) +{ + PRDF_ERR( "[L2CE] Unexpected attention in Hostboot: " + "HUID=0x%08x", i_chip->GetId() ); + CalloutUtil::defaultError( i_sc ); + return SUCCESS; +} PRDF_PLUGIN_DEFINE(Ex, L2CE); + +} // end namespace Ex +} // end namespace PRDF |