summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat/p9/p9_ex.rule
blob: ac67dea03e4920562f9fc31ec1b143d999c77f91 (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
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/usr/diag/prdf/common/plat/p9/p9_ex.rule $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2016
# [+] 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

chip p9_ex
{
    name        "P9 EX chiplet";
    targettype  TYPE_EX;
    sigoff      0x9000;
    dump        DUMP_CONTENT_HW;
    scomlen     64;

 #############################################################################
 #                                                                           #
 #  ######                                                                   #
 #  #     #  ######   ####     ###    ####    #####  ######  #####    ####   #
 #  #     #  #       #    #     #    #          #    #       #    #  #       #
 #  ######   #####   #          #     ####      #    #####   #    #   ####   #
 #  #   #    #       #  ###     #         #     #    #       #####        #  #
 #  #    #   #       #    #     #    #    #     #    #       #   #   #    #  #
 #  #     #  ######   ####     ###    ####      #    ######  #    #   ####   #
 #                                                                           #
 #############################################################################

    ############################################################################
    # P9 EX target L2FIR
    ############################################################################

    register L2FIR
    {
        name        "P9 EX target L2FIR";
        scomaddr    0x10010800;
        reset       (&, 0x10010801);
        mask        (|, 0x10010805);
        capture     group default;
    };

    register L2FIR_MASK
    {
        name        "P9 EX target L2FIR MASK";
        scomaddr    0x10010803;
        capture     group default;
    };

    register L2FIR_ACT0
    {
        name        "P9 EX target L2FIR ACT0";
        scomaddr    0x10010806;
        capture     group default;
        capture     req nonzero("L2FIR");
    };

    register L2FIR_ACT1
    {
        name        "P9 EX target L2FIR ACT1";
        scomaddr    0x10010807;
        capture     group default;
        capture     req nonzero("L2FIR");
    };

    ############################################################################
    # P9 EX target NCUFIR
    ############################################################################

    register NCUFIR
    {
        name        "P9 EX target NCUFIR";
        scomaddr    0x10011000;
        reset       (&, 0x10011001);
        mask        (|, 0x10011005);
        capture     group default;
    };

    register NCUFIR_MASK
    {
        name        "P9 EX target NCUFIR MASK";
        scomaddr    0x10011003;
        capture     group default;
    };

    register NCUFIR_ACT0
    {
        name        "P9 EX target NCUFIR ACT0";
        scomaddr    0x10011006;
        capture     group default;
        capture     req nonzero("NCUFIR");
    };

    register NCUFIR_ACT1
    {
        name        "P9 EX target NCUFIR ACT1";
        scomaddr    0x10011007;
        capture     group default;
        capture     req nonzero("NCUFIR");
    };

    ############################################################################
    # P9 EX target L3FIR
    ############################################################################

    register L3FIR
    {
        name        "P9 EX target L3FIR";
        scomaddr    0x10011800;
        reset       (&, 0x10011801);
        mask        (|, 0x10011805);
        capture     group default;
    };

    register L3FIR_MASK
    {
        name        "P9 EX target L3FIR MASK";
        scomaddr    0x10011803;
        capture     group default;
    };

    register L3FIR_ACT0
    {
        name        "P9 EX target L3FIR ACT0";
        scomaddr    0x10011806;
        capture     group default;
        capture     req nonzero("L3FIR");
    };

    register L3FIR_ACT1
    {
        name        "P9 EX target L3FIR ACT1";
        scomaddr    0x10011807;
        capture     group default;
        capture     req nonzero("L3FIR");
    };

    ############################################################################
    # P9 EX target CMEFIR
    ############################################################################

    register CMEFIR
    {
        name        "P9 EX target CMEFIR";
        scomaddr    0x10012000;
        reset       (&, 0x10012001);
        mask        (|, 0x10012005);
        capture     group default;
    };

    register CMEFIR_MASK
    {
        name        "P9 EX target CMEFIR MASK";
        scomaddr    0x10012003;
        capture     group default;
    };

    register CMEFIR_ACT0
    {
        name        "P9 EX target CMEFIR ACT0";
        scomaddr    0x10012006;
        capture     group default;
        capture     req nonzero("CMEFIR");
    };

    register CMEFIR_ACT1
    {
        name        "P9 EX target CMEFIR ACT1";
        scomaddr    0x10012007;
        capture     group default;
        capture     req nonzero("CMEFIR");
    };


# Include registers not defined by the xml
.include "p9_ex_regs.rule";

};

 ##############################################################################
 #                                                                            #
 # ####                                 #                                     #
 # #   # #   # #    #####  ###      #  # #    ##  ##### ###  ###  #   #  ###  #
 # #   # #   # #    #     #        #  #   #  #  #   #    #  #   # ##  # #     #
 # ####  #   # #    ####   ###    #  ####### #      #    #  #   # # # #  ###  #
 # #  #  #   # #    #         #  #   #     # #  #   #    #  #   # #  ##     # #
 # #   #  ###  #### #####  ###  #    #     #  ##    #   ###  ###  #   #  ###  #
 #                                                                            #
 ##############################################################################

################################################################################
# Summary for EX
################################################################################

rule rEX
{
  CHECK_STOP:
    summary( 0, rL2FIR ) |
    summary( 1, rNCUFIR ) |
    summary( 2, rL3FIR ) |
    summary( 3, rCMEFIR );

  RECOVERABLE:
    summary( 0, rL2FIR ) |
    summary( 1, rNCUFIR ) |
    summary( 2, rL3FIR ) |
    summary( 3, rCMEFIR );

};

group gEX attntype CHECK_STOP, RECOVERABLE
{
    (rEX, bit(0)) ? analyze(gL2FIR);
    (rEX, bit(1)) ? analyze(gNCUFIR);
    (rEX, bit(2)) ? analyze(gL3FIR);
    (rEX, bit(3)) ? analyze(gCMEFIR);
};

################################################################################
# P9 EX target L2FIR
################################################################################

rule rL2FIR
{
  CHECK_STOP:
    L2FIR & ~L2FIR_MASK & ~L2FIR_ACT0 & ~L2FIR_ACT1;
  RECOVERABLE:
    L2FIR & ~L2FIR_MASK & ~L2FIR_ACT0 &  L2FIR_ACT1;
};

group gL2FIR filter singlebit
{
    /** L2FIR[0]
     *  
     */
    (rL2FIR, bit(0)) ? defaultMaskedError;

    /** L2FIR[1]
     *  
     */
    (rL2FIR, bit(1)) ? defaultMaskedError;

    /** L2FIR[2]
     *  L2 cache read SUE
     */
    (rL2FIR, bit(2)) ? defaultMaskedError;

    /** L2FIR[3]
     *  Hw directory initiated line delete
     */
    (rL2FIR, bit(3)) ? defaultMaskedError;

    /** L2FIR[4]
     *  ue or sue detected by on modified line
     */
    (rL2FIR, bit(4)) ? defaultMaskedError;

    /** L2FIR[5]
     *  ue or sue detected on non-modified line
     */
    (rL2FIR, bit(5)) ? defaultMaskedError;

    /** L2FIR[6]
     *  L2 directory read CE
     */
    (rL2FIR, bit(6)) ? self_th_32perDay;

    /** L2FIR[7]
     *  L2 directory read UE
     */
    (rL2FIR, bit(7)) ? self_th_1;

    /** L2FIR[8]
     *  L2 directory CE due to stuck bit
     */
    (rL2FIR, bit(8)) ? self_th_1;

    /** L2FIR[9]
     *  L2 directory stuck bit CE repair failed
     */
    (rL2FIR, bit(9)) ? self_th_1;

    /** L2FIR[10]
     *  Muliple l2 cache dir errors
     */
    (rL2FIR, bit(10)) ? defaultMaskedError;

    /** L2FIR[11]
     *  LRU read error detected
     */
    (rL2FIR, bit(11)) ? self_th_32perDay;

    /** L2FIR[12]
     *  RC Powerbus data timeout
     */
    (rL2FIR, bit(12)) ? level2_th_1;

    /** L2FIR[13]
     *  NCU Powerbus data timeout
     */
    (rL2FIR, bit(13)) ? level2_th_1;

    /** L2FIR[14]
     *  
     */
    (rL2FIR, bit(14)) ? defaultMaskedError;

    /** L2FIR[15]
     *  LRU all members in a class line deleted
     */
    (rL2FIR, bit(15)) ? self_th_1;

    /** L2FIR[16]
     *  Cache line inhibited hit cacheable space
     */
    (rL2FIR, bit(16)) ? self_th_1;

    /** L2FIR[17]
     *  (RC) load received pb cresp addr error
     */
    (rL2FIR, bit(17)) ? level2_th_1;

    /** L2FIR[18]
     *  (RC) store received pb cresp add error
     */
    (rL2FIR, bit(18)) ? level2_dump_SH;

    /** L2FIR[19]
     *  
     */
    (rL2FIR, bit(19)) ? defaultMaskedError;

    /** L2FIR[20]
     *  RC or NCU Pb data UE error
     */
    (rL2FIR, bit(20)) ? self_th_1;

    /** L2FIR[21]
     *  RC or NCU PB data SUE detected
     */
    (rL2FIR, bit(21)) ? defaultMaskedError;

    /** L2FIR[22]
     *  CopyPaste_Tgt_Nodal_req_cresp_dinc_Err
     */
    (rL2FIR, bit(22)) ? self_th_1;

    /** L2FIR[23]
     *  RC fabric op Ld cresp add error
     */
    (rL2FIR, bit(23)) ? defaultMaskedError;

    /** L2FIR[24]
     *  PE on data from RCDAT
     */
    (rL2FIR, bit(24)) ? self_th_1;

    /** L2FIR[25]
     *  L2 castout or CN cresp addr err
     */
    (rL2FIR, bit(25)) ? defaultMaskedError;

    /** L2FIR[26]
     *  LVDIR tracking PE
     */
    (rL2FIR, bit(26)) ? self_th_32perDay;

    /** L2FIR[27]
     *  RC fabric op cresp=ack_dead error
     */
    (rL2FIR, bit(27)) ? defaultMaskedError;

    /** L2FIR[28]
     *  Darn data timeout
     */
    (rL2FIR, bit(28)) ? self_th_1;

    /** L2FIR[29]
     *  RC fabric op store cresp/misc error
     */
    (rL2FIR, bit(29)) ? defaultMaskedError;

    /** L2FIR[30:35]
     *  spare
     */
    (rL2FIR, bit(30|31|32|33|34|35)) ? defaultMaskedError;

    /** L2FIR[36]
     *  Cache CE and UE in short time period
     */
    (rL2FIR, bit(36)) ? self_th_1;

    /** L2FIR[37:39]
     *  spare
     */
    (rL2FIR, bit(37|38|39)) ? defaultMaskedError;

    /** L2FIR[40]
     *  scom error
     */
    (rL2FIR, bit(40)) ? defaultMaskedError;

    /** L2FIR[41]
     *  scom error
     */
    (rL2FIR, bit(41)) ? defaultMaskedError;

};

################################################################################
# P9 EX target NCUFIR
################################################################################

rule rNCUFIR
{
  CHECK_STOP:
    NCUFIR & ~NCUFIR_MASK & ~NCUFIR_ACT0 & ~NCUFIR_ACT1;
  RECOVERABLE:
    NCUFIR & ~NCUFIR_MASK & ~NCUFIR_ACT0 &  NCUFIR_ACT1;
};

group gNCUFIR filter singlebit
{
    /** NCUFIR[0]
     *  NCU store queue control error
     */
    (rNCUFIR, bit(0)) ? self_th_1;

    /** NCUFIR[1]
     *  TLBIE control error.
     */
    (rNCUFIR, bit(1)) ? level2_M_self_L_dump_SH;

    /** NCUFIR[2]
     *  TL or  SLBIEG illegal fields from core.
     */
    (rNCUFIR, bit(2)) ? level2_M_self_L_dump_SH;

    /** NCUFIR[3]
     *  NCU Store Address Error
     */
    (rNCUFIR, bit(3)) ? level2_M_self_L_dump_SH;

    /** NCUFIR[4]
     *  NCU load Address Error
     */
    (rNCUFIR, bit(4)) ? level2_M_self_L_dump_SH;

    /** NCUFIR[5]
     *  Store received ack_dead.
     */
    (rNCUFIR, bit(5)) ? defaultMaskedError;

    /** NCUFIR[6]
     *  Load received ack_dead.
     */
    (rNCUFIR, bit(6)) ? defaultMaskedError;

    /** NCUFIR[7]
     *  MSGSND received addr_err
     */
    (rNCUFIR, bit(7)) ? level2_M_self_L_dump_SH;

    /** NCUFIR[8]
     *  NCU Store Queue Data Parity Err
     */
    (rNCUFIR, bit(8)) ? self_th_1;

    /** NCUFIR[9]
     *  store timed out on pb
     */
    (rNCUFIR, bit(9)) ? level2_M_self_L_dump_SH;

    /** NCUFIR[10]
     *  tlbie master timeout
     */
    (rNCUFIR, bit(10)) ? level2_M_self_L_dump_SH;

    /** NCUFIR[11]
     *  NCU no response to snooped TLBIE
     */
    (rNCUFIR, bit(11)) ? level2_M_self_L_dump_SH;

    /** NCUFIR[12]
     *  ima cresp addr error
     */
    (rNCUFIR, bit(12)) ? self_th_1;

    /** NCUFIR[13]
     *  ima received ack_dead
     */
    (rNCUFIR, bit(13)) ? defaultMaskedError;

    /** NCUFIR[14]
     *  pmisc cresp addr err
     */
    (rNCUFIR, bit(14)) ? level2_M_self_L_dump_SH;

    /** NCUFIR[15]
     *  PPE read cresp address error
     */
    (rNCUFIR, bit(15)) ? level2_th_1;

    /** NCUFIR[16]
     *  PPE write cresp address error
     */
    (rNCUFIR, bit(16)) ? level2_th_1;

    /** NCUFIR[17]
     *  ppe read received ack dead
     */
    (rNCUFIR, bit(17)) ? defaultMaskedError;

    /** NCUFIR[18]
     *  ppe write received ack dead
     */
    (rNCUFIR, bit(18)) ? defaultMaskedError;

    /** NCUFIR[19]
     *  tgt nodal ppe write received ack dead
     */
    (rNCUFIR, bit(19)) ? defaultMaskedError;

    /** NCUFIR[20]
     *  darn ttype while darn not enabled
     */
    (rNCUFIR, bit(20)) ? level2_M_self_L_dump_SH;

    /** NCUFIR[21]
     *  addr darn type while darn not enabled
     */
    (rNCUFIR, bit(21)) ? level2_M_self_L_dump_SH;

    /** NCUFIR[22:28]
     *  spare
     */
    (rNCUFIR, bit(22|23|24|25|26|27|28)) ? defaultMaskedError;

    /** NCUFIR[29]
     *  scom error
     */
    (rNCUFIR, bit(29)) ? defaultMaskedError;

    /** NCUFIR[30]
     *  scom error
     */
    (rNCUFIR, bit(30)) ? defaultMaskedError;

};

################################################################################
# P9 EX target L3FIR
################################################################################

rule rL3FIR
{
  CHECK_STOP:
    L3FIR & ~L3FIR_MASK & ~L3FIR_ACT0 & ~L3FIR_ACT1;
  RECOVERABLE:
    L3FIR & ~L3FIR_MASK & ~L3FIR_ACT0 &  L3FIR_ACT1;
};

group gL3FIR filter singlebit
{
    /** L3FIR[0]
     *  L3_RDDSP_SEGR_LCO_ALL_MEM_UNAVAIL_ERR
     */
    (rL3FIR, bit(0)) ? self_th_1;

    /** L3FIR[1:2]
     *  spare
     */
    (rL3FIR, bit(1|2)) ? defaultMaskedError;

    /** L3FIR[3]
     *  L3 cache CE and UE within a short period
     */
    (rL3FIR, bit(3)) ? self_th_1;

    /** L3FIR[4]
     *  
     */
    (rL3FIR, bit(4)) ? defaultMaskedError;

    /** L3FIR[5]
     *  
     */
    (rL3FIR, bit(5)) ? defaultMaskedError;

    /** L3FIR[6]
     *  SUE detected on L3 cache read
     */
    (rL3FIR, bit(6)) ? defaultMaskedError;

    /** L3FIR[7]
     *  L3 cache write data CE from Power Bus
     */
    (rL3FIR, bit(7)) ? self_th_32perDay;

    /** L3FIR[8]
     *  L3 cache write data UE from Power Bus
     */
    (rL3FIR, bit(8)) ? self_th_1;

    /** L3FIR[9]
     *  L3 cache write data sue from Power Bus
     */
    (rL3FIR, bit(9)) ? defaultMaskedError;

    /** L3FIR[10]
     *  L3 cache write data CE from L2
     */
    (rL3FIR, bit(10)) ? self_th_32perDay;

    /** L3FIR[11]
     *  
     */
    (rL3FIR, bit(11)) ? defaultMaskedError;

    /** L3FIR[12]
     *  L3 cache write SUE from L2
     */
    (rL3FIR, bit(12)) ? defaultMaskedError;

    /** L3FIR[13]
     *  L3 DIR read CE
     */
    (rL3FIR, bit(13)) ? self_th_32perDay;

    /** L3FIR[14]
     *  L3 Dir read UE
     */
    (rL3FIR, bit(14)) ? self_th_1;

    /** L3FIR[15]
     *  Dir error not found during corr seq.
     */
    (rL3FIR, bit(15)) ? defaultMaskedError;

    /** L3FIR[16]
     *  addr_error cresp for mem SN or CO
     */
    (rL3FIR, bit(16)) ? self_M_level2_L_th_1;

    /** L3FIR[17]
     *  Received addr_error cresp for Prefetch
     */
    (rL3FIR, bit(17)) ? self_th_1;

    /** L3FIR[18]
     *  An L3 machine hung waiting for PB cresp
     */
    (rL3FIR, bit(18)) ? defaultMaskedError;

    /** L3FIR[19]
     *  No LRU member count=0
     */
    (rL3FIR, bit(19)) ? self_th_1;

    /** L3FIR[20]
     *  CE detected on PowerBus read for PPE
     */
    (rL3FIR, bit(20)) ? self_th_32perDay;

    /** L3FIR[21]
     *  UE detected on PowerBus read for PPE
     */
    (rL3FIR, bit(21)) ? self_th_1;

    /** L3FIR[22]
     *  L3 PPE SUE
     */
    (rL3FIR, bit(22)) ? defaultMaskedError;

    /** L3FIR[23]
     *  L3 mach hang
     */
    (rL3FIR, bit(23)) ? self_M_level2_L_th_1;

    /** L3FIR[24]
     *  L3 Hw control err
     */
    (rL3FIR, bit(24)) ? self_th_1;

    /** L3FIR[25]
     *  Cache inhitited op in L3 directory
     */
    (rL3FIR, bit(25)) ? self_M_level2_L_th_1;

    /** L3FIR[26]
     *  L3 line delete CE done
     */
    (rL3FIR, bit(26)) ? defaultMaskedError;

    /** L3FIR[27]
     *  L3 DRAM logic error
     */
    (rL3FIR, bit(27)) ? self_th_1;

    /** L3FIR[28]
     *  L3 LRU array parity error
     */
    (rL3FIR, bit(28)) ? self_th_1;

    /** L3FIR[29]
     *  L3 cache congruence cache deleted
     */
    (rL3FIR, bit(29)) ? self_th_1;

    /** L3FIR[30]
     *  L3 cache timer refresh error
     */
    (rL3FIR, bit(30)) ? self_th_1;

    /** L3FIR[31]
     *  L3 PowerBus Master Write CRESP ack_dead
     */
    (rL3FIR, bit(31)) ? defaultMaskedError;

    /** L3FIR[32]
     *  PB Master Read received ack_dead CRESP
     */
    (rL3FIR, bit(32)) ? defaultMaskedError;

    /** L3FIR[33]
     *  scom error
     */
    (rL3FIR, bit(33)) ? defaultMaskedError;

    /** L3FIR[34]
     *  scom error
     */
    (rL3FIR, bit(34)) ? defaultMaskedError;

};

################################################################################
# P9 EX target CMEFIR
################################################################################

rule rCMEFIR
{
  CHECK_STOP:
    CMEFIR & ~CMEFIR_MASK & ~CMEFIR_ACT0 & ~CMEFIR_ACT1;
  RECOVERABLE:
    CMEFIR & ~CMEFIR_MASK & ~CMEFIR_ACT0 &  CMEFIR_ACT1;
};

group gCMEFIR filter singlebit
{
    /** CMEFIR[0]
     *  PPE asserted an internal error
     */
    (rCMEFIR, bit(0)) ? defaultMaskedError;

    /** CMEFIR[1]
     *  PPE  external interface error
     */
    (rCMEFIR, bit(1)) ? defaultMaskedError;

    /** CMEFIR[2]
     *  PPE  lack of forward progress
     */
    (rCMEFIR, bit(2)) ? defaultMaskedError;

    /** CMEFIR[3]
     *  PPE software-requested breakpoint event.
     */
    (rCMEFIR, bit(3)) ? defaultMaskedError;

    /** CMEFIR[4]
     *  PPE watchdog timeout
     */
    (rCMEFIR, bit(4)) ? defaultMaskedError;

    /** CMEFIR[5]
     *  PPE asserted a halt condition.
     */
    (rCMEFIR, bit(5)) ? defaultMaskedError;

    /** CMEFIR[6]
     *  PPE asserted a debug trigger
     */
    (rCMEFIR, bit(6)) ? defaultMaskedError;

    /** CMEFIR[7]
     *  PPE SRAM Uncorrectable Error.
     */
    (rCMEFIR, bit(7)) ? self_th_1;

    /** CMEFIR[8]
     *  SRAM Correctable Error
     */
    (rCMEFIR, bit(8)) ? threshold_and_mask;

    /** CMEFIR[9]
     *  Scrub timer tick, scrub still pending
     */
    (rCMEFIR, bit(9)) ? threshold_and_mask;

    /** CMEFIR[10]
     *  Block Copy Engine Error
     */
    (rCMEFIR, bit(10)) ? defaultMaskedError;

    /** CMEFIR[11:12]
     *  spare
     */
    (rCMEFIR, bit(11|12)) ? defaultMaskedError;

    /** CMEFIR[13]
     *  PPE Dropout on Core0 Chiplet iVRM.
     */
    (rCMEFIR, bit(13)) ? threshold_and_mask;

    /** CMEFIR[14]
     *  CME Dropout Core0 Chiplet iVRM.
     */
    (rCMEFIR, bit(14)) ? threshold_and_mask;

    /** CMEFIR[15]
     *  CME Dropout Cache Chiplet iVRM.
     */
    (rCMEFIR, bit(15)) ? threshold_and_mask;

    /** CMEFIR[16]
     *  CME Extreme Droop over time exceeded
     */
    (rCMEFIR, bit(16)) ? threshold_and_mask;

    /** CMEFIR[17]
     *  CME Large Droop exceeded
     */
    (rCMEFIR, bit(17)) ? threshold_and_mask;

    /** CMEFIR[18]
     *  CME Small Droop exceeded
     */
    (rCMEFIR, bit(18)) ? threshold_and_mask;

    /** CMEFIR[19]
     *  Detected non-thermometer code
     */
    (rCMEFIR, bit(19)) ? threshold_and_mask;

    /** CMEFIR[20]
     *  scom error
     */
    (rCMEFIR, bit(20)) ? defaultMaskedError;

    /** CMEFIR[21]
     *  scom error
     */
    (rCMEFIR, bit(21)) ? defaultMaskedError;

};

 ##############################################################################
 #                                                                            #
 #    #                                  ###                                  #
 #   # #    ##  ##### ###  ###  #   #   #   # #     #    ###   ###  ###  ###  #
 #  #   #  #  #   #    #  #   # ##  #   #     #    # #  #     #     #   #     #
 # ####### #      #    #  #   # # # #   #     #   #####  ###   ###  ##   ###  #
 # #     # #  #   #    #  #   # #  ##   #   # #   #   #     #     # #       # #
 # #     #  ##    #   ###  ###  #   #    ###  ### #   #  ###   ###  ###  ###  #
 #                                                                            #
 ##############################################################################

# Include the common action set.
.include "p9_common_actions.rule";
# Include the chip-specific action set.
.include "p9_ex_actions.rule";

OpenPOWER on IntegriCloud