blob: cf5f1005390588de1cfae8fa880394d0bc2688b3 [file] [log] [blame]
Sridevi Rameshb180c9f2017-08-06 10:27:41 -05001
2r"""
3Signature description in error log corresponding to error injection.
4"""
5
6DES_MCA_RECV1 = "'mca.n0p0c0.*MCACALFIR[^0].*A MBA recoverable error'"
7DES_MCA_RECV32 = "'mca.n0p0c0.*MCACALFIR[^2].*Excessive refreshes'"
8DES_MCA_UE = "'mca.n0p0c0.*MCACALFIR[^10].*State machine'"
9
10
11DES_MCS_RECV1 = "'mcs.n0p0c0.*MCFIR[^0].*mc internal recoverable'"
Sridevi Ramesh6bd6b4c2017-10-10 04:38:30 -050012DES_MCS_UE = "'mcs.n0p0c0.*MCFIR[^1].*mc internal non recovervabl'"
Sridevi Rameshb180c9f2017-08-06 10:27:41 -050013
Sridevi Ramesh6bd6b4c2017-10-10 04:38:30 -050014DES_NX_RECV1 = "'pu.n0p0.*NXDMAENGFIR[^13].*Channel 4 GZIP ECC PE'"
Sridevi Rameshb180c9f2017-08-06 10:27:41 -050015DES_NX_RECV32 = "'pu.n0p0.*NXDMAENGFIR[^4].*Channel 0 842 engine ECC'"
Sridevi Ramesh6bd6b4c2017-10-10 04:38:30 -050016DES_NX_UE = "'pu.n0p0.*NXDMAENGFIR[^5].*Channel 0 842 engine ECC'"
Sridevi Rameshb180c9f2017-08-06 10:27:41 -050017
18DES_OBUS_RECV32 = "'ob.n0p0c0.*OB_LFIR[^0].*CFIR internal parity error'"
19
20DES_CXA_RECV5 = "'capp.n0p0c0.*CXAFIR[^34].*CXA CE on data received'"
21DES_CXA_RECV32 = "'capp.n0p0c0.*CXAFIR[^2].*CXA CE on Master array'"
22
Sridevi Ramesh6bd6b4c2017-10-10 04:38:30 -050023DES_NPU0_RECV32 = "'pu.n0p0.*NPU0FIR[^13].*CQ CTL/SM ASBE Array single'"
Sridevi Rameshb180c9f2017-08-06 10:27:41 -050024
25# The following is an error injection dictionary with each entry consisting of:
26# - field_name: Targettype_threshold_limit .
27# - A list consisting of the following fields:
28# - field1: FIR (Fault isolation register) value.
29# - field2: chip address.
30# - field3: Error log signature description.
31
32ERROR_INJECT_DICT = {'MCACALIFIR_RECV1': ['07010900', '8000000000000000',\
33 DES_MCA_RECV1],
34 'MCACALIFIR_RECV32': ['07010900', '2000000000000000', \
35 DES_MCA_RECV32],
36 'MCACALIFIR_UE': ['07010900', '0020000000000000', DES_MCA_UE],
37 'MCS_RECV1': ['05010800', '8000000000000000', DES_MCS_RECV1],
38 'MCS_UE': ['05010800', '4000000000000000', DES_MCS_UE],
Sridevi Ramesh6bd6b4c2017-10-10 04:38:30 -050039 'NX_RECV1': ['02011100','0004000000000000', DES_NX_RECV1],
40 'NX_UE': ['02011100','0400000000000000', DES_NX_UE],
Sridevi Rameshb180c9f2017-08-06 10:27:41 -050041 'NX_RECV32': ['02011100', '0800000000000000', DES_NX_RECV32],
42 'CXA_RECV5': ['02010800', '0000000020000000', DES_CXA_RECV5],
43 'CXA_RECV32': ['02010800', '2000000000000000', DES_CXA_RECV32],
44 'OBUS_RECV32': ['0904000a', '8000000000000000', DES_OBUS_RECV32],
Sridevi Ramesh6bd6b4c2017-10-10 04:38:30 -050045 'NPU0_RECV32': ['05013C00', '0004000000000000', DES_NPU0_RECV32]
Sridevi Rameshb180c9f2017-08-06 10:27:41 -050046 }
47