aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJin Dongming <jin.dongming@np.css.fujitsu.com>2009-07-24 17:52:29 +0900
committerHuang Ying <ying.huang@intel.com>2009-07-28 09:41:44 +0800
commit12b8cff81615467373206b83f6b1e5123ecca4a9 (patch)
tree38318420b788a59845250fdc754597125e6573e8
parentc7068254cfb8d41fecf4b2593b56e011fe383b6a (diff)
downloadmce-test-12b8cff81615467373206b83f6b1e5123ecca4a9.tar.gz
Update the document for the new cases.
There are two cases added, one(srar_no_en) for panic_ucr and the other(ucna_over) for poll_ucr. Update the document for them. Signed-off-by: Jin Dongming <jin.dongming@np.css.fujitsu.com>
-rw-r--r--doc/cases/soft-inj_panic_ucr.txt23
-rw-r--r--doc/cases/soft-inj_poll_ucr.txt17
2 files changed, 38 insertions, 2 deletions
diff --git a/doc/cases/soft-inj_panic_ucr.txt b/doc/cases/soft-inj_panic_ucr.txt
index d0ad836..815febc 100644
--- a/doc/cases/soft-inj_panic_ucr.txt
+++ b/doc/cases/soft-inj_panic_ucr.txt
@@ -1,4 +1,4 @@
-Overall: (3 cases)
+Overall: (4 cases)
- Test method
* Add cases/soft-inj/panic_ucr/cases.sh into configuration file, and invoke
@@ -77,3 +77,24 @@ Overall: (3 cases)
* Exception message is "Action required; unknown MCACOD"
+4. srar_no_en
+
+- Objective:
+ * Test fatal MCE occur
+- Code path tested:
+ * do_machine_check()
+ * mce_start()
+ * mce_timeout() except if (*t <= 0) branch
+ * mce_log()
+ * mce_end()
+ * mce_severity()
+ * mce_reign() until mce_panic("Machine check from unknown source",)
+ * mce_panic()
+ * print_mce()
+- Reference:
+ * Inject data file: cases/soft-inj/panic_ucr/data/srar_no_en
+ * Reference MCE records: cases/soft-inj/panic_ucr/refer/srar_no_en
+- Expected result:
+ * No warning or bug during kernel processing.
+ * MCE records collected via kernel panic log is same as reference ones.
+ * Kernel panic message is "Machine check from unknown source"
diff --git a/doc/cases/soft-inj_poll_ucr.txt b/doc/cases/soft-inj_poll_ucr.txt
index b32b80c..ed41a10 100644
--- a/doc/cases/soft-inj_poll_ucr.txt
+++ b/doc/cases/soft-inj_poll_ucr.txt
@@ -1,4 +1,4 @@
-Overall:(1 cases)
+Overall:(2 cases)
- Test method
* Preparation
@@ -27,3 +27,18 @@ Overall:(1 cases)
* No warning or bug during kernel processing.
+2. ucna_over
+
+- Objective:
+ * Test severity comparison logic of MCE handler
+ * Test logic of uncorrected with POLL
+- Code path tested:
+ * machine_check_poll() except
+ if (!(flags & MCP_UC) &&
+ (m.status & (mce_ser ? MCI_STATUS_S : MCI_STATUS_UC))
+ * mce_log()
+- Reference:
+ * Inject data file: cases/soft-inj/poll_ucr/data/ucna_over
+- Expected result:
+ * MCE records collected via kernel panic log is same as reference ones.
+ * No warning or bug during kernel processing.