1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/usr/diag/prdf/common/plat/nimbus/nimbus_mca_actions.rule $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2016,2019
# [+] International Business Machines Corp.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#
# IBM_PROLOG_END_TAG
/** Verify Chip Mark */
actionclass verify_chip_mark_0 { funccall("AnalyzeFetchMpe_0"); };
actionclass verify_chip_mark_1 { funccall("AnalyzeFetchMpe_1"); };
actionclass verify_chip_mark_2 { funccall("AnalyzeFetchMpe_2"); };
actionclass verify_chip_mark_3 { funccall("AnalyzeFetchMpe_3"); };
actionclass verify_chip_mark_4 { funccall("AnalyzeFetchMpe_4"); };
actionclass verify_chip_mark_5 { funccall("AnalyzeFetchMpe_5"); };
actionclass verify_chip_mark_6 { funccall("AnalyzeFetchMpe_6"); };
actionclass verify_chip_mark_7 { funccall("AnalyzeFetchMpe_7"); };
/** Analyze NVDIMM Health Registers */
actionclass analyzeNvdimms
{
threshold32pday;
funccall("AnalyzeNvdimmHealthStatRegs");
};
/** Mainline NCE/TCE handling */
actionclass mainline_nce_tce_handling { funccall("AnalyzeFetchNceTce"); };
/** Mainline UE handling */
actionclass mainline_ue_handling_UERE
{
SueSource;
threshold( field(33 / 30 min ) ); # To prevent flooding. Will be unmasked
# when background scrubbing resumes after
# targeted diagnostics is complete.
funccall("AnalyzeFetchUe");
};
/** Memory Port Failure */
actionclass mem_port_failure_UERE
{
SueSource;
funccall("CalloutAttachedDimmsHigh"); # All attached DIMMs HIGH
calloutSelfLowNoGard; # Self LOW
threshold1; # Threshold 1
funccall("MemPortFailure"); # Mask off the entire port
};
/** Handle RCD parity error. */
actionclass rcd_parity_error
{
funccall("CalloutAttachedDimmsHigh"); # All attached DIMMs HIGH
calloutSelfLowNoGard; # Self LOW
# Thresholding done in plugin
funccall("RcdParityError"); # Run TPS on TH for all MCA ranks
funccall("ClearNvdimmGardState"); # Clear gard for NVDIMMs
};
/** Handle Mainline IUEs */
actionclass mainline_iue_handling
{
# An IUE itself is not a SUE source, however, a threshold of IUEs will
# trigger a port failure, which will generate SUEs. The port failure could
# also crash the machine so we want to make sure this bit is flagged as an
# SUE just in case it is needed in the checkstop analysis.
SueSource;
# Thresholding done in the plugin
funccall("AnalyzeMainlineIue");
};
/** Handle Maintenance IUEs */
actionclass maintenance_iue_handling
{
# An IUE itself is not a SUE source, however, a threshold of IUEs will
# trigger a port failure, which will generate SUEs. The port failure could
# also crash the machine so we want to make sure this bit is flagged as an
# SUE just in case it is needed in the checkstop analysis.
SueSource;
# Thresholding done in the plugin
funccall("AnalyzeMaintIue");
};
actionclass memory_impe_handling { funccall("AnalyzeImpe"); };
/** Handle Mainline AUEs/IAUEs */
actionclass mainline_aue_iaue_handling
{
funccall("AnalyzeFetchAueIaue");
calloutSelfLowNoGard;
threshold1;
};
/** Handle Maintenance AUEs */
actionclass maintenance_aue_handling
{
funccall("AnalyzeMaintAue");
calloutSelfLowNoGard;
threshold1;
};
/** Handle Maintenance IAUEs */
actionclass maintenance_iaue_handling
{
funccall("CalloutAttachedDimmsHigh");
calloutSelfLowNoGard;
threshold1;
};
/** MCA/UE algroithm, threshold 5 per day */
actionclass mca_ue_algorithm_th_5perDay
{
try( funccall("CheckForNvdimms"), calloutSelfMed );
threshold5pday;
funccall("mcaUeAlgorithm"); # must be called last
};
/** MCA/UE algroithm, threshold 1 */
actionclass mca_ue_algorithm_th_1
{
try( funccall("CheckForNvdimms"), calloutSelfMed );
threshold1;
funccall("mcaUeAlgorithm"); # must be called last
};
################################################################################
# NVDIMM callouts #
################################################################################
# Simple callouts that will avoid gard for NVDIMMs at IPL
actionclass nvdimm_self_th_1
{
try( funccall("CheckForNvdimms"), calloutSelfMed );
threshold1;
};
actionclass nvdimm_self_th_32perDay
{
try( funccall("CheckForNvdimms"), calloutSelfMed );
threshold32pday;
};
################################################################################
# Analyze groups
################################################################################
actionclass analyzeDDRPHYFIR { analyze(gDDRPHYFIR); };
actionclass analyzeMCACALFIR { analyze(gMCACALFIR); };
actionclass analyzeMCAECCFIR { analyze(gMCAECCFIR); };
|