• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Overall:(2 cases)
2
3- Test method
4  * Preparation
5    + Disable mcelog cron job
6  * Add cases/soft-inj/panic_ucr/cases.sh into configuration file, and invoke
7    a test driver on it.
8- Common
9  * Test script of test cases in this file can be found in
10    cases/soft-inj/panic_ucr/cases.sh
11
12
131. ucna
14
15- Objective:
16  * Test severity comparison logic of MCE handler
17  * Test logic of uncorrected with POLL
18- Code path tested:
19  * machine_check_poll() except
20        if (!(flags & MCP_UC) &&
21            (m.status & (mce_ser ? MCI_STATUS_S : MCI_STATUS_UC))
22  * mce_log()
23- Reference:
24  * Inject data file: cases/soft-inj/poll_ucr/data/ucna
25- Expected result:
26  * MCE records collected via kernel panic log is same as reference ones.
27  * No warning or bug during kernel processing.
28
29
302. ucna_over
31
32- Objective:
33  * Test severity comparison logic of MCE handler
34  * Test logic of uncorrected with POLL
35- Code path tested:
36  * machine_check_poll() except
37        if (!(flags & MCP_UC) &&
38            (m.status & (mce_ser ? MCI_STATUS_S : MCI_STATUS_UC))
39  * mce_log()
40- Reference:
41  * Inject data file: cases/soft-inj/poll_ucr/data/ucna_over
42- Expected result:
43  * MCE records collected via kernel panic log is same as reference ones.
44  * No warning or bug during kernel processing.
45