summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat/cen
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2018-09-27 13:28:49 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2018-10-01 14:59:36 -0500
commit829943397a902f61a29ff3076e34687ebaf71af0 (patch)
treef3addf89aef975cfd20a499a556131bd091e9f45 /src/usr/diag/prdf/common/plat/cen
parentaac8421a2554ee5a82b56c69c4d92d77d546a7c0 (diff)
downloadtalos-hostboot-829943397a902f61a29ff3076e34687ebaf71af0.tar.gz
talos-hostboot-829943397a902f61a29ff3076e34687ebaf71af0.zip
PRD: Capture extra FFDC for current memory mirroring config
Change-Id: I9f6b0496cb299793c5970cf26d2c628b678672c3 CQ: SW446377 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66743 Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66809 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/cen')
-rw-r--r--src/usr/diag/prdf/common/plat/cen/prdfCenMembuf_common.C7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/common/plat/cen/prdfCenMembuf_common.C b/src/usr/diag/prdf/common/plat/cen/prdfCenMembuf_common.C
index f29cb7850..72cf24527 100644
--- a/src/usr/diag/prdf/common/plat/cen/prdfCenMembuf_common.C
+++ b/src/usr/diag/prdf/common/plat/cen/prdfCenMembuf_common.C
@@ -28,6 +28,7 @@
#include <prdfExtensibleChip.H>
#include <prdfPluginDef.H>
#include <prdfPluginMap.H>
+#include <UtilHash.H> // for Util::hashString
// Platform includes
#include <prdfCenMbaDataBundle.H>
@@ -73,6 +74,12 @@ PRDF_PLUGIN_DEFINE( cen_centaur, Initialize );
int32_t PreAnalysis( ExtensibleChip * i_chip, STEP_CODE_DATA_STRUCT & io_sc,
bool & o_analyzed )
{
+ // The hardware team requested that we capture the MCFIR in the FFDC.
+ ExtensibleChip * dmiChip = getConnectedParent( i_chip, TYPE_DMI );
+ ExtensibleChip * miChip = getConnectedParent( dmiChip, TYPE_MI );
+ miChip->CaptureErrorData( io_sc.service_data->GetCaptureData(),
+ Util::hashString("MirrorConfig") );
+
// Check for a channel failure before analyzing this chip.
o_analyzed = MemUtils::analyzeChnlFail<TYPE_MEMBUF>( i_chip, io_sc );
OpenPOWER on IntegriCloud