summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/fapiHwpErrorInfo.xml
blob: e70d16be83dfcfb8910e30f1692c8c83e7f65dfa (plain)
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<!-- IBM_PROLOG_BEGIN_TAG                                                   -->
<!-- This is an automatically generated prolog.                             -->
<!--                                                                        -->
<!-- $Source: src/usr/hwpf/hwp/fapiHwpErrorInfo.xml $                       -->
<!--                                                                        -->
<!-- IBM CONFIDENTIAL                                                       -->
<!--                                                                        -->
<!-- COPYRIGHT International Business Machines Corp. 2011,2014              -->
<!--                                                                        -->
<!-- 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                                                     -->
<!-- $Id: fapiHwpErrorInfo.xml,v 1.16 2014/03/20 20:19:37 mjjones Exp $ -->
<!-- XML file specifying Test HW Procedure generated errors. -->

<hwpErrors>

  <registerFfdc>
    <id>REG_FFDC_TEST_X_PROC_REGISTERS</id>
    <cfamRegister>CFAM_FSI_GP8_0x00002817</cfamRegister>
    <scomRegister>PORE_GPE0_STATUS_0x00060000</scomRegister>
    <scomRegister>PORE_GPE0_CONTROL_0x00060001</scomRegister>
    <scomRegister>PORE_GPE0_RESET_0x00060002</scomRegister>
    <scomRegister>PORE_GPE0_ERROR_MASK_0x00060003</scomRegister>
  </registerFfdc>

  <registerFfdc>
    <id>REG_FFDC_TEST_X_EX_REGISTERS</id>
    <scomRegister>EX_GP0_0x10000000</scomRegister>
    <scomRegister>EX_L3_FIR_REG_0x10010800</scomRegister>
  </registerFfdc>

  <registerFfdc>
    <id>REG_FFDC_TEST_X_MBA_REGISTERS</id>
    <scomRegister>MBA01_MBAFIRQ_0x03010600</scomRegister>
    <scomRegister>MBA01_MBAFIRMASK_0x03010603</scomRegister>
  </registerFfdc>

  <registerFfdc>
    <id>REG_FFDC_TEST_X_PROC_REGISTERS_PRES_CHILDREN</id>
    <scomRegister>HANG_PULSE_0_REG_0x010F0020</scomRegister>
    <scomRegister>HANG_PULSE_1_REG_0x010F0021</scomRegister>
  </registerFfdc>

  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_TEST_ERROR_A</rc>
    <description>HWP Error A generated by Unit Test</description>

    <!-- Collect chip register FFDC -->
    <collectRegisterFfdc>
       <id>REG_FFDC_TEST_X_PROC_REGISTERS</id>
       <target>UNIT_TEST_CHIP_TARGET</target>
    </collectRegisterFfdc>

    <!-- Collect chiplet register FFDC -->
    <collectRegisterFfdc>
       <id>REG_FFDC_TEST_X_MBA_REGISTERS</id>
       <target>UNIT_TEST_MBA_TARGET</target>
    </collectRegisterFfdc>

    <!-- Collect child chiplet register FFDC -->
    <collectRegisterFfdc>
       <id>REG_FFDC_TEST_X_EX_REGISTERS</id>
       <childTargets>
         <parent>UNIT_TEST_CHIP_TARGET</parent>
         <childType>TARGET_TYPE_EX_CHIPLET</childType>
       </childTargets>
    </collectRegisterFfdc>

    <!-- Collect register FFDC based on present children -->
    <collectRegisterFfdc>
       <id>REG_FFDC_TEST_X_PROC_REGISTERS_PRES_CHILDREN</id>
       <basedOnPresentChildren>
         <target>UNIT_TEST_CHIP_TARGET</target>
         <childType>TARGET_TYPE_EX_CHIPLET</childType>
         <childPosOffsetMultiplier>0x01000000</childPosOffsetMultiplier>
       </basedOnPresentChildren>
    </collectRegisterFfdc>

    <!-- Call hwpTestFfdc1 to collect additional FFDC from the master chip -->
    <collectFfdc>hwpTestFfdc1, UNIT_TEST_CHIP_TARGET</collectFfdc>
    <!-- Add some integer data as FFDC -->
    <ffdc>UNIT_TEST_FFDC_DATA_INTEGER</ffdc>
    <!-- Add an ecmdDataBufferBase as FFDC -->
    <ffdc>UNIT_TEST_FFDC_DATA_BUF</ffdc>
    <!-- Add a Target as FFDC -->
    <ffdc>UNIT_TEST_CHIP_TARGET</ffdc>
    <!-- Callout next level of support -->
    <callout>
        <procedure>LVL_SUPPORT</procedure>
        <priority>MEDIUM</priority>
    </callout>
    <!-- Callout a bus - in reality, the two targets would be different -->
    <!-- Commented out to avoid actually calling out a bus in UT
        <callout>
            <bus>UNIT_TEST_CHIP_TARGET,UNIT_TEST_CHIP_TARGET</bus>
            <priority>MEDIUM</priority>
        </callout>
    -->
    <!-- Callout MASTER_CHIP HIGH -->
    <!-- Commented out to avoid actually calling out a chip in UT
        <callout>
            <target>UNIT_TEST_CHIP_TARGET</target>
            <priority>HIGH</priority>
        </callout>
    -->
    <!-- Deconfigure MASTER_CHIP -->
    <!-- Commented out to avoid actually deconfiuring a chip in UT
        <deconfigure>
            <target>UNIT_TEST_CHIP_TARGET</target>
        </deconfigure>
    -->
    <!-- Create GARD record for MASTER_CHIP -->
    <!-- Commented out to avoid actually GARDing a chip in UT
        <gard>
            <target>UNIT_TEST_CHIP_TARGET</target>
        </gard>
    -->
    <!-- Callout MASTER_CHIP's EX chiplets MEDIUM -->
    <!-- Commented out to avoid actually calling out chiplets in UT
        <callout>
            <childTargets>
                <parent>UNIT_TEST_CHIP_TARGET</parent>
                <childType>TARGET_TYPE_EX_CHIPLET</childType>
            </childTargets>
            <priority>MEDIUM</priority>
        </callout>
    -->
    <!-- Callout MASTER_CHIP's EX4 chiplet MEDIUM -->
    <!-- Commented out to avoid actually calling out chiplets in UT
        <callout>
            <childTargets>
                <parent>UNIT_TEST_CHIP_TARGET</parent>
                <childType>TARGET_TYPE_EX_CHIPLET</childType>
                <childNumber>4</childNumber>
            </childTargets>
            <priority>MEDIUM</priority>
        </callout>
    -->
    <!-- Callout MASTER_CHIP's associated Centaur4 chip MEDIUM -->
    <!-- Commented out to avoid actually calling out chips in UT
        <callout>
            <childTargets>
                <parent>UNIT_TEST_CHIP_TARGET</parent>
                <childType>TARGET_TYPE_MEMBUF_CHIP</childType>
                <childNumber>4</childNumber>
            </childTargets>
            <priority>MEDIUM</priority>
        </callout>
    -->
    <!-- Deconfigure MASTER_CHIP's ABUS endpoints -->
    <!-- Commented out to avoid actually deconfiguring chiplets in UT
        <deconfigure>
            <childTargets>
                <parent>UNIT_TEST_CHIP_TARGET</parent>
                <childType>TARGET_TYPE_ABUS_ENDPOINT</childType>
            </childTargets>
        </deconfigure>
    -->
    <!-- Callout the PCI ref-clock -->
    <!-- Commented out to avoid actually calling out the ref-clock in UT
        <callout>
            <hw>
                <hwid>PCI_REF_CLOCK</hwid>
                <refTarget>UNIT_TEST_CHIP_TARGET</refTarget>
            </hw>
            <priority>MEDIUM</priority>
        </callout>
 -->
 </hwpError>

 <hwpError>
    <rc>RC_TEST_DIMM_CALLOUT_MBA_A</rc>
    <description>DIMM Callout generated by Unit Test, passing in
                 MBA target and port number.</description>
    <!-- Callout ALL dimms on specified MBA port with MEDIUM priority-->
        <callout>
            <childTargets>
                <parent>UNIT_TEST_MBA_TARGET</parent>
                <childType>TARGET_TYPE_DIMM</childType>
                <childPort>UNIT_TEST_MBA_PORT_NUMBER</childPort>
            </childTargets>
            <priority>MEDIUM</priority>
        </callout>
 </hwpError>
 <!-- Callout a specific DIMM  on a specified PORT of MBA  -->
 <hwpError>
    <rc>RC_TEST_DIMM_CALLOUT_MBA_B</rc>
    <description>DIMM Callout generated by Unit Test, passing in
                 MBA target,port number and specific DIMM number.</description>
        <callout>
            <childTargets>
                <parent>UNIT_TEST_MBA_TARGET</parent>
                <childType>TARGET_TYPE_DIMM</childType>
                <childPort>UNIT_TEST_MBA_PORT_NUMBER</childPort>
                <childNumber>UNIT_TEST_DIMM_NUMBER</childNumber>
            </childTargets>
            <priority>LOW</priority>
        </callout>
    </hwpError>
 <!-- Callout all dimms on all ports of a specfied MBA  -->
 <hwpError>
    <rc>RC_TEST_DIMM_CALLOUT_MBA_C</rc>
    <description>DIMM Callout generated by Unit Test, passing in
                 only MBA target to callout all dimms under it.</description>
        <callout>
            <childTargets>
                <parent>UNIT_TEST_MBA_TARGET</parent>
                <childType>TARGET_TYPE_DIMM</childType>
            </childTargets>
            <priority>HIGH</priority>
        </callout>
 </hwpError>
 <!-- Deconfigure ALL dimms on specified MBA port with MEDIUM priority-->
 <hwpError>
     <rc>RC_TEST_DIMM_DECONFIGURE_MBA_A</rc>
 <description>DIMM DECONFIGURE generated by Unit Test, passing in
              MBA target and port number.</description>
 <!-- Commented out to avoid actually calling out chiplets in UT
     <deconfigure>
         <childTargets>
             <parent>UNIT_TEST_MBA_TARGET</parent>
             <childType>TARGET_TYPE_DIMM</childType>
             <childPort>UNIT_TEST_MBA_PORT_NUMBER</childPort>
         </childTargets>
         <priority>MEDIUM</priority>
     </deconfigure>
 -->
 </hwpError>
 <!-- Gard a specific DIMM  on a specified PORT of MBA -->
 <hwpError>
    <rc>RC_TEST_DIMM_GARD_MBA_B</rc>
    <description>DIMM Callout generated by Unit Test, passing in
        MBA target,port number and specific DIMM number.</description>
    <!--
        <gard>
            <childTargets>
                <parent>UNIT_TEST_MBA_TARGET</parent>
                <childType>TARGET_TYPE_DIMM</childType>
                <childPort>UNIT_TEST_MBA_PORT_NUMBER</childPort>
                <childNumber>UNIT_TEST_DIMM_NUMBER</childNumber>
            </childTargets>
            <priority>LOW</priority>
        </gard>
        -->
    </hwpError>
    -->
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_TEST_ERROR_B</rc>
    <description>HWP Error B used to add FFDC to an existing ReturnCode</description>
    <ffdc>UNIT_TEST_FFDC_DATA</ffdc>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_TEST_CONFIG_NO_MCS_CHIPLETS</rc>
    <description>HWP Config Unit Test found no MCS chiplets</description>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_TEST_CONFIG_PARENT_CHIP_MISMATCH</rc>
    <description>HWP Config Unit Test found a parent chip mismatch</description>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_TEST_DQ_NO_ERR_ON_BAD_PARAMS</rc>
    <description>HWP DQ Unit Test did not get an expected error</description>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_TEST_DQ_BAD_DATA</rc>
    <description>HWP DQ Unit Test got bad data</description>
    <ffdc>FFDC_DATA1</ffdc>
    <ffdc>FFDC_DATA2</ffdc>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_INITFILE_INCORRECT_VER</rc>
    <description>InitFile has incorrect version</description>
    <!-- Collect local FFDC FFDC_IF_VER -->
    <ffdc>FFDC_IF_VER</ffdc>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_INITFILE_ATTR_ID_OUT_OF_RANGE</rc>
    <description>InitFile's attribute id is out of range </description>
    <!-- Collect local FFDC FFDC_IF_ATTR_ID_OUT_OF_RANGE -->
    <ffdc>FFDC_IF_ATTR_ID_OUT_OF_RANGE</ffdc>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_INITFILE_LIT_ID_OUT_OF_RANGE</rc>
    <description>InitFile's literal id is out of range </description>
    <!-- Collect local FFDC FFDC_IF_LIT_ID_OUT_OF_RANGE -->
    <ffdc>FFDC_IF_LIT_ID_OUT_OF_RANGE</ffdc>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_INITFILE_TGT_NUM_OUT_OF_RANGE</rc>
    <description>InitFile's target number is out of range </description>
    <!-- Collect local FFDC -->
    <ffdc>FFDC_IF_TGT_NUM</ffdc>
    <ffdc>FFDC_IF_NUM_TGTS_PASSED_IN</ffdc>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_HWP_EXEC_INITFILE_TEST_FAILED</rc>
    <description>HWP Exec InitFile test case failed </description>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_HWP_EXEC_INITFILE_TEST_INCORRECT_NUM_MBAS_FOUND</rc>
    <description>HWP Exec InitFile test incorrect number of MBA chiplets found</description>
    <!-- Collect local FFDC -->
        <ffdc>FFDC_IF_TEST_NUM_MBAS_FOUND</ffdc>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_HWP_EXEC_INITFILE_TEST_NO_MEMBUF_FOUND</rc>
    <description>HWP Exec Initfile test no MEMBUF chips found</description>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_HWP_ATTR_UNIT_TEST_FAIL</rc>
    <description>HWP Attribute Unit Test failed</description>
  </hwpError>
  <!-- *********************************************************************** -->
  <hwpError>
    <rc>RC_TEST_WRONG_MCS_RETURNED</rc>
    <description>HWP Config Unit Test returned wrong MCS for memory buffer</description>
  </hwpError>
  <!-- ************************************************************ -->
  <hwpError>
    <rc>RC_INITFILE_EXECUTION_ERROR</rc>
    <description>
        The initFile has encountered an unusual error and dumped
        error information.
        See the FFDC and trace for diagnostic information.
     </description>
    <!-- Collect local FFDC -->
    <ffdc>FFDC_SCOM_ADDRID</ffdc>
    <ffdc>FFDC_SCOM_OFFSET</ffdc>
    <ffdc>FFDC_SCOM_LEN</ffdc>
    <ffdc>FFDC_COLUMN</ffdc>
    <ffdc>FFDC_ROW</ffdc>
  </hwpError>
  <!-- ************************************************************ -->
  <hwpError>
    <rc>RC_TEST_COLLECT_TRACE</rc>
    <description>Test adding firmware traces</description>
    <ffdc>FFDC_VALUE</ffdc>
    <collectTrace>FSI</collectTrace>
    <collectTrace>SCOM</collectTrace>
    <collectTrace>SCAN</collectTrace>
    <collectTrace>MBOX</collectTrace>
  </hwpError>
  <!-- ************************************************************ -->
</hwpErrors>
OpenPOWER on IntegriCloud