• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Overall:(4 cases)
2
3- Test method
4  * Preparation
5    + Disable mcelog cron job
6  * Add cases/soft-inj/non-panic/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/non-panic/cases.sh
11
12
131. corrected
14
15- Objective:
16  * Test machine_check_poll() and mce_log()
17- Code path tested:
18  * machine_check_poll()
19  * mce_get_rip(), branch without EIPV, RIPV, rip_msr
20  * mce_log()
21- Reference:
22  * Inject data file: cases/soft-inj/non-panic/data/corrected
23- Expected results:
24  * MCE records gotten via /dev/mcelog is same as injected ones
25  * No warning or bug during kernel processing
26
27
282. corrected hold
29
30- Objective:
31  * Whether is there race condition in machine_check_poll() and mce_log(),
32    multiple machine_check_poll() or mce_log() may be run simultaneously
33    on difference CPU.
34- Code path tested:
35  * same as corrected
36- Reference:
37  * Inject data file: cases/soft-inj/non-panic/data/corrected_hold
38- Expected results:
39  * MCE records gotten via /dev/mcelog is same as injected ones
40  * No warning or bug during kernel processing
41
42
433. corrected over
44
45- Objective:
46  * Test OVER processing
47- Code path tested:
48  * same as 1
49- Reference:
50  * Inject data file: cases/soft-inj/non-panic/data/corrected_over
51- Expected results:
52  * MCE records gotten via /dev/mcelog is same as injected ones
53  * No warning or bug during kernel processing
54
55
564. corrected without EN
57
58- Objective:
59  * Test no EN processing
60- Code path tested:
61  * same as 1
62- Reference:
63  * Inject data file: cases/soft-inj/non-panic/data/corrected_no_en
64- Expected results:
65  * MCE records gotten via /dev/mcelog is same as injected ones
66  * No warning or bug during kernel processing
67