1overall: (7 cases) 2 3- Test method 4 * Add cases/soft-inj/recoverable_ucr/cases.sh into configuration file, and invoke a test driver on it. 5- Common 6 * Test script of test cases in this file can be found in 7 cases/soft-inj/recoverable_ucr/cases.sh 8 91.srao_corrected 10 11- Objective: 12 * Test logic of uncorrected and corrected 13 * Test logic of uncorrected with S 14 * Test logic of corrected with EXCP 15- Code path tested: 16 * do_machine_check() 17 * mce_start() 18 * mce_timeout() except if (*t <= 0) branch 19 * mce_severity() 20 * mce_log() 21 * mce_end() 22 * mce_reign() 23 * mce_report_event() 24- Reference: 25 * Inject data file: cases/soft-inj/recoverable_uc/data/srao_corrected 26- Expected result: 27 * No warning or bug during kernel processing. 28 * Exception message is "Action optional unknown MCACOD" 29 302.srao_ewb 31- Objective: 32 * Test logic of uncorrected with S 33 * Test logic of UCR errors detected during last level cache(LLC) explicit writebacks. 34- Code path tested: 35 * do_machine_check() 36 * mce_start() 37 * mce_timeout() except if (*t <= 0) branch 38 * mce_severity() 39 * mce_ring_add() 40 * mce_log() 41 * mce_end() 42 * mce_reign() 43- Reference: 44 * Inject data file: cases/soft-inj/recoverable_uc/data/srao_ewb 45- Expected result: 46 * No warning or bug during kernel processing. 47 * Exception message is "Action optional: last level cache writeback error" 48 493.srao_mem_scrub 50- Objective: 51 * Test logic of uncorrected with S 52 * Test logic of UCR errors detected on data load 53- Code path tested: 54 * do_machine_check() 55 * mce_start() 56 * mce_timeout() except if (*t <= 0) branch 57 * mce_severity() 58 * mce_ring_add() 59 * mce_log() 60 * mce_end() 61 * mce_reign() 62- Reference: 63 * Inject data file: cases/soft-inj/recoverable_uc/data/srao_mem_scrub 64- Expected result: 65 * No warning or bug during kernel processing. 66 * Exception message is "Action optional: memory scrubbing error" 67 684.srao_no_en 69- Objective: 70 * Test no EN processing. 71- Code path tested: 72 * do_machine_check() 73 * mce_start() 74 * mce_timeout() except if (*t <= 0) branch 75 * mce_severity() 76 * mce_end() 77 * mce_reign() 78 * mce_panic() 79- Reference: 80 * Inject data file: cases/soft-inj/recoverable_uc/data/srao_no_en 81- Expected result: 82 * No warning or bug during kernel processing. 83 * Kernel panic message is "Machine check from unknown source" 84 855.srao_over 86- Objective: 87 * Test logic of uncorrected with S and OVER 88- Code path tested: 89 * do_machine_check() 90 * mce_start() 91 * mce_timeout() except if (*t <= 0) branch 92 * mce_severity() 93 * mce_log() 94 * mce_end() 95 * mce_reign() 96- Reference: 97 * Inject data file: cases/soft-inj/recoverable_uc/data/srao_over 98- Expected result: 99 * No warning or bug during kernel processing. 100 * Exception message is "Action optional with lost events" 101 1026.srao_ucna 103- Objective: 104 * Test logic of uncorrected with S 105 * Test logic of ucna 106- Code path tested: 107 * do_machine_check() 108 * mce_start() 109 * mce_timeout() except if (*t <= 0) branch 110 * mce_severity() 111 * mce_get_rip() 112 * mce_log() 113 * mce_end() 114 * mce_reign() 115- Reference: 116 * Inject data file: cases/soft-inj/recoverable_uc/data/srao_ucna 117- Expected result: 118 * No warning or bug during kernel processing. 119 * Exception message is "Action optional with unknown MCACOD" 120 1217.srao_unknown 122- Objective: 123 * Test logic of uncorrected with S 124- Code path tested: 125 * do_machine_check() 126 * mce_start() 127 * mce_timeout() except if (*t <= 0) branch 128 * mce_severity() 129 * mce_get_rip() 130 * mce_log() 131 * mce_end() 132 * mce_reign() 133- Reference: 134 * Inject data file: cases/soft-inj/recoverable_uc/data/srao_unknown 135- Expected result: 136 * No warning or bug during kernel processing. 137 * Exception message is "Action optional with unknown MCACOD" 138 1398.srar_usr_dcu 140- Objective: 141 * Test logic of uncorrected with S & AR 142- Code path tested: 143 * do_machine_check() 144 * mce_start() 145 * mce_timeout() except if (*t <= 0) branch 146 * mce_severity() 147 * mce_get_rip() 148 * mce_log() 149 * mce_end() 150 * mce_reign() 151- Reference: 152 * Inject data file: cases/soft-inj/recoverable_uc/data/srar_usr_dcu 153- Expected result: 154 * No warning or bug during kernel processing. 155 * Exception message is "Data CACHE Level-0 Data-Read Error" 156 1579.srar_usr_dcu_nmi 158- Objective: 159 * Test logic of uncorrected with S & AR 160- Code path tested: 161 * do_machine_check() 162 * mce_start() 163 * mce_timeout() except if (*t <= 0) branch 164 * mce_severity() 165 * mce_get_rip() 166 * mce_log() 167 * mce_end() 168 * mce_reign() 169- Reference: 170 * Inject data file: cases/soft-inj/recoverable_uc/data/srar_usr_dcu_nmi 171- Expected result: 172 * No warning or bug during kernel processing. 173 * Exception message is "Data CACHE Level-0 Data-Read Error" 174 17510.srar_dcu_irq 176- Objective: 177 * Test logic of uncorrected with S & AR 178- Code path tested: 179 * do_machine_check() 180 * mce_start() 181 * mce_timeout() except if (*t <= 0) branch 182 * mce_severity() 183 * mce_get_rip() 184 * mce_log() 185 * mce_end() 186 * mce_reign() 187- Reference: 188 * Inject data file: cases/soft-inj/recoverable_uc/data/srar_dcu_irq 189- Expected result: 190 * No warning or bug during kernel processing. 191 * Exception message is "Data CACHE Level-0 Data-Read Error" 192 193