1f08c3bdfSopenharmony_ciOverall:(4 cases)
2f08c3bdfSopenharmony_ci
3f08c3bdfSopenharmony_ci- Test method
4f08c3bdfSopenharmony_ci  * Preparation
5f08c3bdfSopenharmony_ci    + Disable mcelog cron job
6f08c3bdfSopenharmony_ci  * Add cases/soft-inj/non-panic/cases.sh into configuration file, and invoke
7f08c3bdfSopenharmony_ci    a test driver on it.
8f08c3bdfSopenharmony_ci- Common
9f08c3bdfSopenharmony_ci  * Test script of test cases in this file can be found in
10f08c3bdfSopenharmony_ci    cases/soft-inj/non-panic/cases.sh
11f08c3bdfSopenharmony_ci
12f08c3bdfSopenharmony_ci
13f08c3bdfSopenharmony_ci1. corrected
14f08c3bdfSopenharmony_ci
15f08c3bdfSopenharmony_ci- Objective:
16f08c3bdfSopenharmony_ci  * Test machine_check_poll() and mce_log()
17f08c3bdfSopenharmony_ci- Code path tested:
18f08c3bdfSopenharmony_ci  * machine_check_poll()
19f08c3bdfSopenharmony_ci  * mce_get_rip(), branch without EIPV, RIPV, rip_msr
20f08c3bdfSopenharmony_ci  * mce_log()
21f08c3bdfSopenharmony_ci- Reference:
22f08c3bdfSopenharmony_ci  * Inject data file: cases/soft-inj/non-panic/data/corrected
23f08c3bdfSopenharmony_ci- Expected results:
24f08c3bdfSopenharmony_ci  * MCE records gotten via /dev/mcelog is same as injected ones
25f08c3bdfSopenharmony_ci  * No warning or bug during kernel processing
26f08c3bdfSopenharmony_ci
27f08c3bdfSopenharmony_ci
28f08c3bdfSopenharmony_ci2. corrected hold
29f08c3bdfSopenharmony_ci
30f08c3bdfSopenharmony_ci- Objective:
31f08c3bdfSopenharmony_ci  * Whether is there race condition in machine_check_poll() and mce_log(),
32f08c3bdfSopenharmony_ci    multiple machine_check_poll() or mce_log() may be run simultaneously
33f08c3bdfSopenharmony_ci    on difference CPU.
34f08c3bdfSopenharmony_ci- Code path tested:
35f08c3bdfSopenharmony_ci  * same as corrected
36f08c3bdfSopenharmony_ci- Reference:
37f08c3bdfSopenharmony_ci  * Inject data file: cases/soft-inj/non-panic/data/corrected_hold
38f08c3bdfSopenharmony_ci- Expected results:
39f08c3bdfSopenharmony_ci  * MCE records gotten via /dev/mcelog is same as injected ones
40f08c3bdfSopenharmony_ci  * No warning or bug during kernel processing
41f08c3bdfSopenharmony_ci
42f08c3bdfSopenharmony_ci
43f08c3bdfSopenharmony_ci3. corrected over
44f08c3bdfSopenharmony_ci
45f08c3bdfSopenharmony_ci- Objective:
46f08c3bdfSopenharmony_ci  * Test OVER processing
47f08c3bdfSopenharmony_ci- Code path tested:
48f08c3bdfSopenharmony_ci  * same as 1
49f08c3bdfSopenharmony_ci- Reference:
50f08c3bdfSopenharmony_ci  * Inject data file: cases/soft-inj/non-panic/data/corrected_over
51f08c3bdfSopenharmony_ci- Expected results:
52f08c3bdfSopenharmony_ci  * MCE records gotten via /dev/mcelog is same as injected ones
53f08c3bdfSopenharmony_ci  * No warning or bug during kernel processing
54f08c3bdfSopenharmony_ci
55f08c3bdfSopenharmony_ci
56f08c3bdfSopenharmony_ci4. corrected without EN
57f08c3bdfSopenharmony_ci
58f08c3bdfSopenharmony_ci- Objective:
59f08c3bdfSopenharmony_ci  * Test no EN processing
60f08c3bdfSopenharmony_ci- Code path tested:
61f08c3bdfSopenharmony_ci  * same as 1
62f08c3bdfSopenharmony_ci- Reference:
63f08c3bdfSopenharmony_ci  * Inject data file: cases/soft-inj/non-panic/data/corrected_no_en
64f08c3bdfSopenharmony_ci- Expected results:
65f08c3bdfSopenharmony_ci  * MCE records gotten via /dev/mcelog is same as injected ones
66f08c3bdfSopenharmony_ci  * No warning or bug during kernel processing
67