summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat/explorer/explorer_ocmb_regs.rule
blob: c2205f2dd68dd726e5b3375220efe25e07aaeba6 (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
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/usr/diag/prdf/common/plat/explorer/explorer_ocmb_regs.rule $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 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
###############################################################################
# Additional registers for ocmb, not defined in XML
###############################################################################

    ###########################################################################
    # P9 OCMB Modal Symbol Counter Registers
    ###########################################################################

    register OCMB_MBSSYMEC0
    {
        name        "MCP.MCBIST.MBA_SCOMFIR.MBSSYMEC0Q";
        scomaddr    0x08011858;
        capture     group default;
    };

    register OCMB_MBSSYMEC1
    {
        name        "MCP.MCBIST.MBA_SCOMFIR.MBSSYMEC1Q";
        scomaddr    0x08011859;
        capture     group default;
    };

    register OCMB_MBSSYMEC2
    {
        name        "MCP.MCBIST.MBA_SCOMFIR.MBSSYMEC2Q";
        scomaddr    0x0801185A;
        capture     group default;
    };

    register OCMB_MBSSYMEC3
    {
        name        "MCP.MCBIST.MBA_SCOMFIR.MBSSYMEC3Q";
        scomaddr    0x0801185B;
        capture     group default;
    };

    register OCMB_MBSSYMEC4
    {
        name        "MCP.MCBIST.MBA_SCOMFIR.MBSSYMEC4Q";
        scomaddr    0x0801185C;
        capture     group default;
    };

    register OCMB_MBSSYMEC5
    {
        name        "MCP.MCBIST.MBA_SCOMFIR.MBSSYMEC5Q";
        scomaddr    0x0801185D;
        capture     group default;
    };

    register OCMB_MBSSYMEC6
    {
        name        "MCP.MCBIST.MBA_SCOMFIR.MBSSYMEC6Q";
        scomaddr    0x0801185E;
        capture     group default;
    };

    register OCMB_MBSSYMEC7
    {
        name        "MCP.MCBIST.MBA_SCOMFIR.MBSSYMEC7Q";
        scomaddr    0x0801185F;
        capture     group default;
    };

    register OCMB_MBSSYMEC8
    {
        name        "MCP.MCBIST.MBA_SCOMFIR.MBSSYMEC8Q";
        scomaddr    0x08011860;
        capture     group default;
    };

    ###########################################################################
    # P9 OCMB Error Vector Trap registers
    ###########################################################################

    register MBSEVR0
    {
        name        "P9 MBS Error Vector Trap reg 0 (port 0)";
        scomaddr    0x0801187E;
        capture     group default;
    };

    ############################################################################
    # MBS Memory Scrub/Read Error Count Registers
    ############################################################################

    register MBSEC0
    {
        name        "MCP.MCBIST.MBA_SCOMFIR.MBSEC0Q";
        scomaddr    0x08011855;
        capture     group default;
    };

    register MBSEC1
    {
        name        "MCP.MCBIST.MBA_SCOMFIR.MBSEC1Q";
        scomaddr    0x08011856;
        capture     group default;
    };

    register MBSMSEC
    {
        name        "MCP.MCBIST.MBA_SCOMFIR.MBSMSECQ";
        scomaddr    0x08011869;
        capture     group default;
    };

    ###########################################################################
    # P9 MCBIST command registers
    ###########################################################################

    register MBSTR
    {
        name        "P9 MCBIST Memory Scrub/Read Error Threshold Register";
        scomaddr    0x08011857;
        capture     group default;
    };

    register MCBAGRA
    {
        name        "P9 MCBIST Address Generator Configuration Register";
        scomaddr    0x080118D6;
        capture     group default;
    };

    register MCBMCAT
    {
        name        "P9 Maint Current Address Trap Register";
        scomaddr    0x080118D7;
        capture     group default;
    };

    register MCB_CNTL
    {
        name        "P9 MCBIST target MCBIST Control Register";
        scomaddr    0x080118DB;
        capture     group default;
    };

    register MCB_CNTLSTAT
    {
        name        "P9 MCBIST Configured Command Sequence Status Register";
        scomaddr    0x080118DC;
        capture     group default;
    };

    ############################################################################
    # P9 OCMB target RDFFIR
    ############################################################################

    register RDFFIR_AND
    {
        name        "Explorer chip RDFFIR AND";
        scomaddr    0x08011c01;
        capture     group never;
        access      write_only;
    };

    register RDFFIR_MASK_AND
    {
        name        "Explorer chip RDFFIR MASK AND";
        scomaddr    0x08011c04;
        capture     group never;
        access      write_only;
    };

    register RDFFIR_MASK_OR
    {
        name        "Explorer chip RDFFIR MASK OR";
        scomaddr    0x08011c05;
        capture     group never;
        access      write_only;
    };

    ###########################################################################
    # P9 OCMB target MCBISTFIR
    ###########################################################################

    register MCBISTFIR_AND
    {
        name        "P9 OCMB target MCBISTFIR AND";
        scomaddr    0x08011801;
        capture     group never;
        access      write_only;
    };

    register MCBISTFIR_OR
    {
        name        "P9 OCMB target MCBISTFIR OR";
        scomaddr    0x08011802;
        capture     group never;
        access      write_only;
    };

    register MCBISTFIR_MASK_OR
    {
        name        "P9 OCMB target MCBISTFIR MASK OR";
        scomaddr    0x08011805;
        capture     group never;
        access      write_only;
    };

    ############################################################################
    # P9 Hardware Mark Stores
    ############################################################################

    register HW_MS0
    {
        name        "P9 Hardware Mark Store rank 0";
        scomaddr    0x08011C10;
        capture     group default;
    };

    register HW_MS1
    {
        name        "P9 Hardware Mark Store rank 1";
        scomaddr    0x08011C11;
        capture     group default;
    };

    register HW_MS2
    {
        name        "P9 Hardware Mark Store rank 2";
        scomaddr    0x08011C12;
        capture     group default;
    };

    register HW_MS3
    {
        name        "P9 Hardware Mark Store rank 3";
        scomaddr    0x08011C13;
        capture     group default;
    };

    register HW_MS4
    {
        name        "P9 Hardware Mark Store rank 4";
        scomaddr    0x08011C14;
        capture     group default;
    };

    register HW_MS5
    {
        name        "P9 Hardware Mark Store rank 5";
        scomaddr    0x08011C15;
        capture     group default;
    };

    register HW_MS6
    {
        name        "P9 Hardware Mark Store rank 6";
        scomaddr    0x08011C16;
        capture     group default;
    };

    register HW_MS7
    {
        name        "P9 Hardware Mark Store rank 7";
        scomaddr    0x08011C17;
        capture     group default;
    };

    ############################################################################
    # P9 Firmware Mark Stores
    ############################################################################

    register FW_MS0
    {
        name        "P9 Firmware Mark Store 0";
        scomaddr    0x08011C18;
        capture     group default;
    };

    register FW_MS1
    {
        name        "P9 Firmware Mark Store 1";
        scomaddr    0x08011C19;
        capture     group default;
    };

    register FW_MS2
    {
        name        "P9 Firmware Mark Store 2";
        scomaddr    0x08011C1A;
        capture     group default;
    };

    register FW_MS3
    {
        name        "P9 Firmware Mark Store 3";
        scomaddr    0x08011C1B;
        capture     group default;
    };

    register FW_MS4
    {
        name        "P9 Firmware Mark Store 4";
        scomaddr    0x08011C1C;
        capture     group default;
    };

    register FW_MS5
    {
        name        "P9 Firmware Mark Store 5";
        scomaddr    0x08011C1D;
        capture     group default;
    };

    register FW_MS6
    {
        name        "P9 Firmware Mark Store 6";
        scomaddr    0x08011C1E;
        capture     group default;
    };

    register FW_MS7
    {
        name        "P9 Firmware Mark Store 7";
        scomaddr    0x08011C1F;
        capture     group default;
    };

    ###########################################################################
    # P9 OCMB target OMIDLFIR
    ###########################################################################

    register DL0_ERROR_HOLD
    {
        name        "P9 OCMB target DL0 Error Hold Register";
        scomaddr    0x08012813;
        capture     group default;
    };

    ###########################################################################
    # P9 OCMB target TLXFIR
    ###########################################################################

    register TLXFIR_AND
    {
        name        "Explorer chip TLXFIR AND";
        scomaddr    0x08012401;
        capture     group never;
        access      write_only;
    };

    register TLXFIR_MASK_OR
    {
        name        "Explorer chip TLXFIR MASK OR";
        scomaddr    0x08012405;
        capture     group never;
        access      write_only;
    };

    register TLX_ERR1_REPORT
    {
        name        "P9 OCMB target TLX Error Report Register";
        scomaddr    0x0801241D;
        reset       (&, 0x0801241D);
        mask        (|, 0x08012415);
        capture     group default;
    };

    register TLX_ERR1_REPORT_MASK
    {
        name        "P9 OCMB target TLX Error Report Register Mask";
        scomaddr    0x08012415;
        capture     group default;
    };

    ############################################################################
    # Explorer ECC Address Registers
    ############################################################################

    register MBNCER
    {
        name        "Explorer Mainline NCE Address Trap Register";
        scomaddr    0x0801186A;
        capture     group default;
    };

    register MBRCER
    {
        name        "Explorer Mainline RCE Address Trap Register";
        scomaddr    0x0801186B;
        capture     group default;
    };

    register MBMPER
    {
        name        "Explorer Mainline MPE Address Trap Register";
        scomaddr    0x0801186C;
        capture     group default;
    };

    register MBUER
    {
        name        "Explorer Mainline UE Address Trap Register";
        scomaddr    0x0801186D;
        capture     group default;
    };

    register MBAUER
    {
        name        "Explorer Mainline AUE Address Trap Register";
        scomaddr    0x0801186E;
        capture     group default;
    };

    ############################################################################
    # Misc
    ############################################################################

    register FARB0
    {
        name        "MB_SIM.SRQ.MBA_FARB0Q";
        scomaddr    0x08011415;
        capture     group default;
    };

    register EXP_MSR
    {
        name        "Explorer Mark Shadow Register";
        scomaddr    0x08011C0C;
        capture     group default;
    };

    register MC_ADDR_TRANS
    {
        name        "P9 OCMB target address translation register0";
        scomaddr    0x0801186F;
        capture     group default;
    };

    register MC_ADDR_TRANS1
    {
        name        "P9 OCMB target address translation register1";
        scomaddr    0x08011870;
        capture     group default;
    };

    register MC_ADDR_TRANS2
    {
        name        "P9 OCMB target address translation register2";
        scomaddr    0x08011871;
        capture     group default;
    };

    ############################################################################
    # Interrupt status register
    ############################################################################

    register INTER_STATUS_REG
    {
        name        "TPTOP.PIB.PCBMS.INTERRUPT_TYPE_REG";
        scomaddr    0x000F001A;
        capture     group default;
    };
OpenPOWER on IntegriCloud