George Keishing | e635ddc | 2022-12-08 07:38:02 -0600 | [diff] [blame^] | 1 | |
Sridevi Ramesh | b180c9f | 2017-08-06 10:27:41 -0500 | [diff] [blame] | 2 | r""" |
| 3 | Signature description in error log corresponding to error injection. |
| 4 | """ |
| 5 | |
Sridevi Ramesh | cf4507c | 2017-10-26 04:13:50 -0500 | [diff] [blame] | 6 | DES_MCA_RECV1 = "'MCACALFIR[^0].*A MBA recoverable error'" |
| 7 | DES_MCA_RECV32 = "'MCACALFIR[^2].*Excessive refreshes'" |
| 8 | DES_MCA_UE = "'MCACALFIR[^10].*State machine'" |
Sridevi Ramesh | b180c9f | 2017-08-06 10:27:41 -0500 | [diff] [blame] | 9 | |
| 10 | |
Sridevi Ramesh | 4adb3f2 | 2019-03-12 03:31:35 -0500 | [diff] [blame] | 11 | DES_MCI_RECV1 = "'MCFIR[^0].*mc internal recoverable'" |
| 12 | DES_MCI_UE = "'MCFIR[^1].*mc internal non recovervabl'" |
Sridevi Ramesh | b180c9f | 2017-08-06 10:27:41 -0500 | [diff] [blame] | 13 | |
Sridevi Ramesh | cf4507c | 2017-10-26 04:13:50 -0500 | [diff] [blame] | 14 | DES_NX_RECV1 = "'NXDMAENGFIR[^13].*Channel 4 GZIP ECC PE'" |
| 15 | DES_NX_RECV32 = "'NXDMAENGFIR[^4].*Channel 0 842 engine ECC'" |
| 16 | DES_NX_UE = "'NXDMAENGFIR[^5].*Channel 0 842 engine ECC'" |
Sridevi Ramesh | b180c9f | 2017-08-06 10:27:41 -0500 | [diff] [blame] | 17 | |
Sridevi Ramesh | cf4507c | 2017-10-26 04:13:50 -0500 | [diff] [blame] | 18 | DES_OBUS_RECV32 = "'OB_LFIR[^0].*CFIR internal parity error'" |
Sridevi Ramesh | b180c9f | 2017-08-06 10:27:41 -0500 | [diff] [blame] | 19 | |
Sridevi Ramesh | cf4507c | 2017-10-26 04:13:50 -0500 | [diff] [blame] | 20 | DES_CXA_RECV5 = "'CXAFIR[^34].*CXA CE on data received'" |
| 21 | DES_CXA_RECV32 = "'CXAFIR[^2].*CXA CE on Master array'" |
| 22 | DES_CXA_UE = "'CXAFIR[^1].*CXA System Xstop PE'" |
Sridevi Ramesh | b180c9f | 2017-08-06 10:27:41 -0500 | [diff] [blame] | 23 | |
Sridevi Ramesh | cf4507c | 2017-10-26 04:13:50 -0500 | [diff] [blame] | 24 | DES_NPU0_RECV32 = "'NPU0FIR[^13].*CQ CTL/SM ASBE Array single'" |
Sridevi Ramesh | b180c9f | 2017-08-06 10:27:41 -0500 | [diff] [blame] | 25 | |
Sridevi Ramesh | 0d88ab3 | 2017-09-21 11:07:28 -0500 | [diff] [blame] | 26 | DES_L2_RECV1 = "'L2FIR[^8].*L2 directory CE'" |
| 27 | DES_L2_RECV32 = "'L2FIR[^6].*L2 directory read CE'" |
Sridevi Ramesh | cf4507c | 2017-10-26 04:13:50 -0500 | [diff] [blame] | 28 | DES_L2_UE = "'L2FIR[^9].*L2 directory stuck bit CE'" |
Sridevi Ramesh | 0d88ab3 | 2017-09-21 11:07:28 -0500 | [diff] [blame] | 29 | |
| 30 | DES_L3_RECV1 = "'L3FIR[^17].*Received addr_error cresp'" |
| 31 | DES_L3_RECV32 = "'L3FIR[^7].*L3 cache write data CE'" |
Sridevi Ramesh | b6d7b7e | 2017-11-07 03:49:52 -0600 | [diff] [blame] | 32 | DES_L3_UE = "'L3FIR[^16].*addr_error cresp for mem'" |
Sridevi Ramesh | 0d88ab3 | 2017-09-21 11:07:28 -0500 | [diff] [blame] | 33 | |
| 34 | DES_OCC_RECV1 = "'OCCFIR[^45].*C405_ECC_CE'" |
| 35 | DES_CME_RECV1 = "'CMEFIR[^7].*PPE SRAM Uncorrectable Err'" |
Sridevi Ramesh | cf4507c | 2017-10-26 04:13:50 -0500 | [diff] [blame] | 36 | DES_EQ_RECV32 = "'EQ_LFIR[^1].*CFIR internal parity'" |
Sridevi Ramesh | 0d88ab3 | 2017-09-21 11:07:28 -0500 | [diff] [blame] | 37 | DES_NCU_RECV1 = "'NCUFIR[^8].*NCU Store Queue Data'" |
Sridevi Ramesh | 70978ed | 2017-11-22 23:56:50 -0600 | [diff] [blame] | 38 | DES_NCU_UE = "'NCUFIR[^0].*NCU store queue control'" |
| 39 | |
| 40 | DES_CORE_RECV5 = "'COREFIR[^0].*IFU SRAM Recoverable err'" |
| 41 | DES_CORE_RECV1 = "'COREFIR[^30].*LSU Set Delete Err'" |
| 42 | DES_CORE_UE = "'COREFIR[^1].*TC Checkstop'" |
Sridevi Ramesh | 0d88ab3 | 2017-09-21 11:07:28 -0500 | [diff] [blame] | 43 | |
Sridevi Ramesh | b180c9f | 2017-08-06 10:27:41 -0500 | [diff] [blame] | 44 | # The following is an error injection dictionary with each entry consisting of: |
| 45 | # - field_name: Targettype_threshold_limit . |
| 46 | # - A list consisting of the following fields: |
| 47 | # - field1: FIR (Fault isolation register) value. |
| 48 | # - field2: chip address. |
| 49 | # - field3: Error log signature description. |
| 50 | |
George Keishing | e635ddc | 2022-12-08 07:38:02 -0600 | [diff] [blame^] | 51 | ERROR_INJECT_DICT = {'MCACALIFIR_RECV1': ['07010900', '8000000000000000', |
| 52 | DES_MCA_RECV1], |
| 53 | 'MCACALIFIR_RECV32': ['07010900', '2000000000000000', |
| 54 | DES_MCA_RECV32], |
| 55 | 'MCACALIFIR_UE': ['07010900', '0020000000000000', DES_MCA_UE], |
| 56 | 'MCI_RECV1': ['05010800', '8000000000000000', DES_MCI_RECV1], |
| 57 | 'MCI_UE': ['05010800', '4000000000000000', DES_MCI_UE], |
| 58 | 'NX_RECV1': ['02011100', '0004000000000000', DES_NX_RECV1], |
| 59 | 'NX_UE': ['02011100', '0400000000000000', DES_NX_UE], |
| 60 | 'NX_RECV32': ['02011100', '0800000000000000', DES_NX_RECV32], |
| 61 | 'CXA_RECV5': ['02010800', '0000000020000000', DES_CXA_RECV5], |
| 62 | 'CXA_RECV32': ['02010800', '2000000000000000', DES_CXA_RECV32], |
| 63 | 'CXA_UE': ['02010800', '4000000000000000', DES_CXA_UE], |
| 64 | 'OBUS_RECV32': ['0904000a', '8000000000000000', DES_OBUS_RECV32], |
| 65 | 'NPU0_RECV32': ['05013C00', '0004000000000000', DES_NPU0_RECV32], |
| 66 | 'L2FIR_RECV1': ['10010800', '0080000000000000', DES_L2_RECV1], |
| 67 | 'L2FIR_RECV32': ['10010800', '0200000000000000', DES_L2_RECV32], |
| 68 | 'L2FIR_UE': ['10010800', '0040000000000000', DES_L2_UE], |
| 69 | 'L3FIR_RECV1': ['10011800', '0000400000000000', DES_L3_RECV1], |
| 70 | 'L3FIR_RECV32': ['10011800', '0100000000000000', DES_L3_RECV32], |
| 71 | 'L3FIR_UE': ['10011800', '0000800000000000', DES_L3_UE], |
| 72 | 'OCCFIR_RECV1': ['01010800', '0000000000040000', DES_OCC_RECV1], |
| 73 | 'CMEFIR_RECV1': ['10012000', '0100000000000000', DES_CME_RECV1], |
| 74 | 'EQFIR_RECV32': ['1004000A', '8000000000000000', DES_EQ_RECV32], |
| 75 | 'NCUFIR_RECV1': ['10011400', '0080000000000000', DES_NCU_RECV1], |
| 76 | 'NCUFIR_UE': ['10011400', '8000000000000000', DES_NCU_UE], |
| 77 | 'COREFIR_RECV5': ['20010A40', '8000000000000000', DES_CORE_RECV5], |
| 78 | 'COREFIR_RECV1': ['20010A40', '0000000200000000', DES_CORE_RECV1], |
| 79 | 'COREFIR_UE': ['20010A40', '4000000000000000', DES_CORE_UE], |
| 80 | |
| 81 | } |
Sridevi Ramesh | b180c9f | 2017-08-06 10:27:41 -0500 | [diff] [blame] | 82 | |
Sridevi Ramesh | 0d88ab3 | 2017-09-21 11:07:28 -0500 | [diff] [blame] | 83 | # Address translation files |
George Keishing | e635ddc | 2022-12-08 07:38:02 -0600 | [diff] [blame^] | 84 | probe_cpu_file_path = '/root/probe_cpus.sh' |
| 85 | addr_translation_file_path = '/root/scom_addr_p9.sh' |
Sridevi Ramesh | 9617ebd | 2019-11-25 10:57:21 -0600 | [diff] [blame] | 86 | |
| 87 | cfam_address = "2801" |
| 88 | mem_address = "8208000" |