summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2018-05-09 16:33:01 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2018-06-03 16:38:16 -0400
commit9192da4a49db30aa2cba4f6376e5ea8b6449de67 (patch)
tree50fbc6e68bb9d7214f64b9f979ba5db6958f0c73 /src/usr/diag/prdf/common/plat/prdfPlatServices_common.H
parentb14259e6b41abdf7a94b8c96b743d28071900549 (diff)
downloadtalos-hostboot-9192da4a49db30aa2cba4f6376e5ea8b6449de67.tar.gz
talos-hostboot-9192da4a49db30aa2cba4f6376e5ea8b6449de67.zip
PRD: refined handleChnlFail() for Centaur
Change-Id: I698b0320a51cb9452a6b0e661c6f3c24a8f70b78 RTC: 136123 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58607 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59762 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/plat/prdfPlatServices_common.H')
-rwxr-xr-xsrc/usr/diag/prdf/common/plat/prdfPlatServices_common.H11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H b/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H
index 9db6992aa..c692e7246 100755
--- a/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H
+++ b/src/usr/diag/prdf/common/plat/prdfPlatServices_common.H
@@ -319,7 +319,6 @@ int32_t getDimmSpareConfig( TARGETING::TargetHandle_t i_mba, CenRank i_rank,
int32_t getMemBufRawCardType( TARGETING::TargetHandle_t i_mbaTarget,
CEN_SYMBOL::WiringType & o_wiringType );
-
/**
* @brief get DIMM DQ map from FAPI routines
* @param i_target DIMM target
@@ -330,6 +329,16 @@ template <TARGETING::TYPE>
void getDimmDqAttr( TARGETING::TargetHandle_t i_target,
uint8_t (&io_dqMapPtr)[DQS_PER_DIMM] );
+/**
+ * @brief Queries for a channel fail on the given target.
+ * @param i_chip DMI chip.
+ * @param o_chnlFail True if a channel failure has been detected on this
+ * target. False, otherwise.
+ * @return Non-SUCCESS if an internal function fails, SUCCESS otherwise.
+ */
+template<TARGETING::TYPE>
+uint32_t queryChnlFail( ExtensibleChip * i_chip, bool & o_chnlFail );
+
//##############################################################################
//## util functions
//##############################################################################
OpenPOWER on IntegriCloud