summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat/pegasus/Membuf_acts_MEM.rule
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2012-11-15 10:40:06 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-11-16 22:03:16 -0600
commitd33218560b7b2bf2ebc4b5a33fed8aa77b8793e6 (patch)
tree7fff02186430b3d6c87b1238311e217b9cf6e37c /src/usr/diag/prdf/common/plat/pegasus/Membuf_acts_MEM.rule
parent9342e9d7df794e5bcb352799a989d5a9f40e4ca0 (diff)
downloadtalos-hostboot-d33218560b7b2bf2ebc4b5a33fed8aa77b8793e6.tar.gz
talos-hostboot-d33218560b7b2bf2ebc4b5a33fed8aa77b8793e6.zip
Merged common FSP and HB PRD code to prdf/common/
Change-Id: Iac94c3690598b7263de230934b911bb4ced34557 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2350 Tested-by: Jenkins Server Reviewed-by: Bradley W. Bishop <bradleyb@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2368 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/plat/pegasus/Membuf_acts_MEM.rule')
-rwxr-xr-xsrc/usr/diag/prdf/common/plat/pegasus/Membuf_acts_MEM.rule229
1 files changed, 229 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/common/plat/pegasus/Membuf_acts_MEM.rule b/src/usr/diag/prdf/common/plat/pegasus/Membuf_acts_MEM.rule
new file mode 100755
index 000000000..af8e5fbb5
--- /dev/null
+++ b/src/usr/diag/prdf/common/plat/pegasus/Membuf_acts_MEM.rule
@@ -0,0 +1,229 @@
+# IBM_PROLOG_BEGIN_TAG
+# This is an automatically generated prolog.
+#
+# $Source: src/usr/diag/prdf/common/plat/pegasus/Membuf_acts_MEM.rule $
+#
+# IBM CONFIDENTIAL
+#
+# COPYRIGHT International Business Machines Corp. 2012
+#
+# 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
+
+################################################################################
+# MEM Chiplet Registers
+################################################################################
+
+rule MemChipletFir
+{
+ CHECK_STOP:
+ (MEM_CHIPLET_CS_FIR & `17f6000000000000`) & ~MEM_CHIPLET_FIR_MASK;
+ RECOVERABLE:
+ ((MEM_CHIPLET_RE_FIR >> 2) & `17f6000000000000`) & ~MEM_CHIPLET_FIR_MASK;
+};
+
+group gMemChipletFir filter singlebit
+{
+ /** MEM_CHIPLET_FIR[3]
+ * Attention from LFIR
+ */
+ (MemChipletFir, bit(3)) ? analyze(gMemLFir);
+
+ /** MEM_CHIPLET_FIR[5]
+ * Attention from MBAFIR (MBA 01)
+ */
+ (MemChipletFir, bit(5)) ? analyzeMba0;
+
+ /** MEM_CHIPLET_FIR[6]
+ * Attention from MBAFIR (MBA 23)
+ */
+ (MemChipletFir, bit(6)) ? analyzeMba1;
+
+ /** MEM_CHIPLET_FIR[7]
+ * Attention from MBACALFIR (MBA 01)
+ */
+ (MemChipletFir, bit(7)) ? analyzeMba0;
+
+ /** MEM_CHIPLET_FIR[8]
+ * Attention from MBACALFIR (MBA 23)
+ */
+ (MemChipletFir, bit(8)) ? analyzeMba1;
+
+ /** MEM_CHIPLET_FIR[9]
+ * Attention from DDRPHYFIR (MBA 01)
+ */
+ (MemChipletFir, bit(9)) ? analyzeMba0;
+
+ /** MEM_CHIPLET_FIR[10]
+ * Attention from DDRPHYFIR (MBA 23)
+ */
+ (MemChipletFir, bit(10)) ? analyzeMba1;
+
+ /** MEM_CHIPLET_FIR[11]
+ * Attention from MEMFBISTFIR
+ */
+ (MemChipletFir, bit(11)) ? analyze(gMemFbistFir);
+
+ /** MEM_CHIPLET_FIR[12]
+ * Attention from MBASECUREFIR (MBA 01)
+ */
+ (MemChipletFir, bit(12)) ? analyzeMba0;
+
+ /** MEM_CHIPLET_FIR[13]
+ * Attention from MBASECUREFIR (MBA 23)
+ */
+ (MemChipletFir, bit(13)) ? analyzeMba1;
+};
+
+rule MemChipletSpa
+{
+ SPECIAL: MEM_CHIPLET_SPA & ~MEM_CHIPLET_SPA_MASK;
+};
+
+group gMemChipletSpa filter singlebit
+{
+ /** MEM_CHIPLET_SPA[0]
+ * Attention from Mba 01
+ */
+ (MemChipletSpa, bit(0)) ? analyzeMba0;
+
+ /** MEM_CHIPLET_SPA[1]
+ * Attention from Mba 1
+ */
+ (MemChipletSpa, bit(1)) ? analyzeMba1;
+};
+
+################################################################################
+# MEM Chiplet LFIR
+################################################################################
+
+rule MemLFir
+{
+ CHECK_STOP: MEM_LFIR & ~MEM_LFIR_MASK & ~MEM_LFIR_ACT0 & ~MEM_LFIR_ACT1;
+ RECOVERABLE: MEM_LFIR & ~MEM_LFIR_MASK & ~MEM_LFIR_ACT0 & MEM_LFIR_ACT1;
+};
+
+group gMemLFir filter singlebit
+{
+ /** MEM_LFIR[0]
+ * CFIR internal parity error
+ */
+ (MemLFir, bit(0)) ? TBDDefaultCallout;
+
+ /** MEM_LFIR[1]
+ * Local errors from GPIO (PCB error)
+ */
+ (MemLFir, bit(1)) ? TBDDefaultCallout;
+
+ /** MEM_LFIR[2]
+ * Local errors from CC (PCB error)
+ */
+ (MemLFir, bit(2)) ? TBDDefaultCallout;
+
+ /** MEM_LFIR[3]
+ * Local errors from CC (OPCG, parity, scan collision, ...)
+ */
+ (MemLFir, bit(3)) ? TBDDefaultCallout;
+
+ /** MEM_LFIR[4]
+ * Local errors from PSC (PCB error)
+ */
+ (MemLFir, bit(4)) ? TBDDefaultCallout;
+
+ /** MEM_LFIR[5]
+ * Local errors from PSC (parity error)
+ */
+ (MemLFir, bit(5)) ? TBDDefaultCallout;
+
+ /** MEM_LFIR[6]
+ * Local errors from Thermal (parity error)
+ */
+ (MemLFir, bit(6)) ? TBDDefaultCallout;
+
+ /** MEM_LFIR[7]
+ * Local errors from Thermal (PCB error)
+ */
+ (MemLFir, bit(7)) ? TBDDefaultCallout;
+
+ /** MEM_LFIR[8|9]
+ * Local errors from Thermal (Trip error)
+ */
+ (MemLFir, bit(8|9)) ? TBDDefaultCallout;
+
+ /** MEM_LFIR[10|11]
+ * Local errors from Trace Array ( error)
+ */
+ (MemLFir, bit(10|11)) ? TBDDefaultCallout;
+};
+
+################################################################################
+# MEM Chiplet MEMFBISTFIR
+################################################################################
+
+rule MemFbistFir
+{
+ CHECK_STOP:
+ MEMFBISTFIR & ~MEMFBISTFIR_MASK & ~MEMFBISTFIR_ACT0 & ~MEMFBISTFIR_ACT1;
+ RECOVERABLE:
+ MEMFBISTFIR & ~MEMFBISTFIR_MASK & ~MEMFBISTFIR_ACT0 & MEMFBISTFIR_ACT1;
+};
+
+group gMemFbistFir filter singlebit
+{
+ /** MBAFBISTFIR[0]
+ * FBM_FIR_REG_FBM_SCOM_UE
+ */
+ (MemFbistFir, bit(0)) ? TBDDefaultCallout;
+
+ /** MBAFBISTFIR[1]
+ * FBM_FIR_REG_FBM_CMD_CHK_1HOT
+ */
+ (MemFbistFir, bit(1)) ? TBDDefaultCallout;
+
+ /** MBAFBISTFIR[2]
+ * FBM_FIR_REG_FBM_DS_DATA_DROP
+ */
+ (MemFbistFir, bit(2)) ? TBDDefaultCallout;
+
+ /** MBAFBISTFIR[3]
+ * FBM_FIR_REG_FBM_DGEN_1HOT
+ */
+ (MemFbistFir, bit(3)) ? TBDDefaultCallout;
+
+ /** MBAFBISTFIR[4]
+ * FBM_FIR_REG_FBM_DGEN_RD_DATA_DROP
+ */
+ (MemFbistFir, bit(4)) ? TBDDefaultCallout;
+
+ /** MBAFBISTFIR[15]
+ * FBM_FIR_REG_INTERNAL_SCOM_ERROR
+ */
+ (MemFbistFir, bit(15)) ? TBDDefaultCallout;
+
+ /** MBAFBISTFIR[16]
+ * FBM_FIR_REG_INTERNAL_SCOM_ERROR_CLONE
+ */
+ (MemFbistFir, bit(16)) ? TBDDefaultCallout;
+};
+
+################################################################################
+# Actions specific to MEM chiplet
+################################################################################
+
+/** Analyze connected MBA0 */
+actionclass analyzeMba0 { analyze(connected(TYPE_MBA, 0)); };
+
+/** Analyze connected MBA1 */
+actionclass analyzeMba1 { analyze(connected(TYPE_MBA, 1)); };
+
OpenPOWER on IntegriCloud