diff options
author | Benjamin Weisenbeck <bweisenb@us.ibm.com> | 2013-12-12 15:06:58 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-12-13 09:26:58 -0600 |
commit | 3b7475e77c5dff1ac8a04784a4e6463b646cde7c (patch) | |
tree | 723d47fb5185bb33090192d5fc51eb2268d59b08 /src/usr/diag/prdf/plat | |
parent | ca782027d006ca9492411b5378be3fda1cff95ae (diff) | |
download | talos-hostboot-3b7475e77c5dff1ac8a04784a4e6463b646cde7c.tar.gz talos-hostboot-3b7475e77c5dff1ac8a04784a4e6463b646cde7c.zip |
PRD: Ignore L2/L3 CEs during IPL
Change-Id: I7da13e82509556029a03da100b175197467d1699
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7698
Tested-by: Jenkins Server
Reviewed-by: Christopher T. Phan <cphan@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7708
Diffstat (limited to 'src/usr/diag/prdf/plat')
-rw-r--r-- | src/usr/diag/prdf/plat/pegasus/prdfPlatP8Ex.C | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/src/usr/diag/prdf/plat/pegasus/prdfPlatP8Ex.C b/src/usr/diag/prdf/plat/pegasus/prdfPlatP8Ex.C index 8c13b041f..6d4c201f2 100644 --- a/src/usr/diag/prdf/plat/pegasus/prdfPlatP8Ex.C +++ b/src/usr/diag/prdf/plat/pegasus/prdfPlatP8Ex.C @@ -109,9 +109,8 @@ int32_t L3UE( ExtensibleChip * i_chip, 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 ); + // We can get these errors during hostboot, but will wait for runtime + // to attempt repairs return SUCCESS; } PRDF_PLUGIN_DEFINE(Ex, L3CE); @@ -136,11 +135,22 @@ int32_t L2UE( ExtensibleChip * i_chip, 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 ); + // We can get these errors during hostboot, but will wait for runtime + // to attempt repairs return SUCCESS; } PRDF_PLUGIN_DEFINE(Ex, L2CE); +/** + * @brief Check if we're running in hostboot + * @param i_chip Ex chip. + * @param i_stepcode Step Code data struct + * @return SUCCESS because this is the Hostboot file + */ +int32_t InHostboot( ExtensibleChip * i_chip, + STEP_CODE_DATA_STRUCT & i_stepcode ) +{ + return SUCCESS; +} PRDF_PLUGIN_DEFINE(Ex, InHostboot); + } // end namespace Ex } // end namespace PRDF |