Skip to contentSkip to conversation

Integration of MCE test suite into LTP

PATCH In review Subrata Modak 3 participants 18 messages Aug 5, 2009 – Aug 23, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Integration of MCE test suite into LTP

Hi Huang Ying,

Quoted 8 lines · Huang Ying

Hi, All,

We are working on a test suite to test the Linux kernel MCE handling logic named mce-test, which can be find at:
git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git. There is a HOWTO for it, which is attached with the mail.

Quoted 8 lines

We think the testing target of mce-test is part of that of LTP, so it is better to integrate mce-test into LTP. Do you think so?

As for integration scheme, maybe we can first add mce-test into LTP as a separate test case, just as kdump test case. What's your opinions?

Any comment is welcome!

Sorry for the very late response to your proposal. Please find below the first patch which will integrate the existing mce-test to LTP. I had just done a sanity checking of building it. The following patch will still need:

1) Exclusive testing and sharing those results with the LTP community,
2) Comments for and rewriting of this patch for coding styles,
3) Sign off from Huang Ying <[email protected]>, or, the concerned Authors,

Patch-created-for-ltp-integration-by Subrata Modak<[email protected]>

Signed-off-by-is-still-required-from: Huang Ying <[email protected]>
---

testcases/mce-test/cases/soft-inj/non-panic/cases.sh +55 -0
@@ -0,0 +1,55 @@
+#!/bin/sh
+#
+# Software injection based test cases - non-panic cases: test cases
+# are triggered via the mce-inject tool, and they will not trigger kernel
+# panic.
+#
+# Copyright (C) 2008, Intel Corp.
+#   Author: Huang Ying <[email protected]>
+#
+# This file is released under the GPLv2.
+#
+
+. $ROOT/lib/functions.sh
+. $ROOT/lib/dirs.sh
+. $ROOT/lib/mce.sh
+. $ROOT/lib/soft-inject.sh
+
+enumerate()
+{
+    soft_inject_enumerate
+}
+
+trigger()
+{
+    soft_inject_trigger
+}
+
+get_result()
+{
+    soft_inject_get_klog
+    get_gcov arch/x86/kernel/cpu/mcheck/mce.c
+
+    case "$bcase" in
+	corrected|corrected_hold|corrected_over|corrected_no_en)
+	    get_mcelog_from_dev $mcelog_result
+	    ;;
+	*)
+	    echo '!!! Unknown case: $this_case !!!'
+    esac
+}
+
+verify()
+{
+    local removes="TSC TIME PROCESSOR"
+    case "$bcase" in
+	corrected|corrected_hold|corrected_over|corrected_no_en)
+	    soft_inject_verify_mcelog
+	    verify_klog $klog
+	    ;;
+	*)
+	    echo "!!! Unknown case: $this_case !!!"
+    esac
+}
+
+soft_inject_main "$@"
testcases/mce-test/cases/soft-inj/non-panic/data/corrected +14 -0
@@ -0,0 +1,14 @@
+# 
+# log corrected machine checks
+CPU 0 BANK 1
+STATUS CORRECTED
+ADDR 0xabcd
+HOLD
+CPU 1 BANK 0
+#  
+CPU 1 BANK 2
+STATUS CORRECTED
+MISC 0xabcd
+ADDR 0x1234
+HOLD
+CPU 0 BANK 0
testcases/mce-test/cases/soft-inj/non-panic/data/corrected_hold +10 -0
@@ -0,0 +1,10 @@
+# 
+# log two corrected machine checks
+CPU 0 BANK 1
+STATUS CORRECTED
+ADDR 0xabcd
+HOLD
+#  
+CPU 1 BANK 2
+STATUS CORRECTED
+ADDR 0x1234
testcases/mce-test/cases/soft-inj/non-panic/data/corrected_no_en +5 -0
@@ -0,0 +1,5 @@
+#
+CPU 0 BANK 3
+STATUS VAL
+HOLD
+CPU 1 BANK 0
\ No newline at end of file
testcases/mce-test/cases/soft-inj/non-panic/data/corrected_over +4 -0
@@ -0,0 +1,4 @@
+CPU 0 BANK 2
+STATUS VAL OVER EN
+HOLD
+CPU 1 BANK 0
testcases/mce-test/cases/soft-inj/panic/cases.sh +89 -0

89 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/panic/data/fatal +8 -0
@@ -0,0 +1,8 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 4
+MCGSTATUS MCIP
+STATUS FATAL
+RIP 12343434
+MISC 11
testcases/mce-test/cases/soft-inj/panic/data/fatal_eipv +7 -0
@@ -0,0 +1,7 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 1 BANK 4
+MCGSTATUS MCIP EIPV
+STATUS FATAL
+RIP 0x10:0x12343434
testcases/mce-test/cases/soft-inj/panic/data/fatal_irq +9 -0
@@ -0,0 +1,9 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 4
+MCGSTATUS MCIP
+STATUS FATAL
+RIP 12343434
+MISC 11
+IN_IRQ
testcases/mce-test/cases/soft-inj/panic/data/fatal_no_en +8 -0
@@ -0,0 +1,8 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 4
+MCGSTATUS MCIP
+STATUS UC VAL PCC
+RIP 0x10:12343434
+MISC 11
testcases/mce-test/cases/soft-inj/panic/data/fatal_over +9 -0
@@ -0,0 +1,9 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 4
+MCGSTATUS MCIP
+STATUS FATAL OVER
+RIP 12343434
+MISC 11
+
testcases/mce-test/cases/soft-inj/panic/data/fatal_ripv +7 -0
@@ -0,0 +1,7 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 1 BANK 4
+MCGSTATUS MCIP RIPV
+STATUS FATAL
+RIP 0x10:0x12343434
testcases/mce-test/cases/soft-inj/panic/data/fatal_timeout +9 -0
@@ -0,0 +1,9 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 4
+MCGSTATUS MCIP
+STATUS FATAL
+RIP 0x10:0x12343434
+MISC 0xb
+NOBROADCAST
testcases/mce-test/cases/soft-inj/panic/data/fatal_timeout_ripv +9 -0
@@ -0,0 +1,9 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 4
+MCGSTATUS MCIP RIPV
+STATUS FATAL
+RIP 0x10:0x12343434
+MISC 0xb
+NOBROADCAST
testcases/mce-test/cases/soft-inj/panic/data/fatal_userspace +7 -0
@@ -0,0 +1,7 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 1 BANK 4
+MCGSTATUS MCIP EIPV
+STATUS FATAL
+RIP 0x73:0x12343434
testcases/mce-test/cases/soft-inj/panic/refer/fatal_no_en +1 -0
@@ -0,0 +1 @@
+# empty mcelog
testcases/mce-test/cases/soft-inj/panic_noser/cases.sh +61 -0

61 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/panic_noser/data/uc_over +6 -0
@@ -0,0 +1,6 @@
+# this should just kill the process
+CPU 0 BANK 2
+STATUS UNCORRECTED OVER
+MCGSTATUS RIPV EIPV MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
testcases/mce-test/cases/soft-inj/panic_noser/data/uc_over_corrected +13 -0
@@ -0,0 +1,13 @@
+CPU 1 BANK 1
+MCGSTATUS RIPV MCIP
+STATUS CORRECTED
+RIP 0x13:0x12345678
+IN_PROC
+EXCP
+HOLD
+
+CPU 0 BANK 2
+STATUS UNCORRECTED OVER
+MCGSTATUS RIPV EIPV MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
testcases/mce-test/cases/soft-inj/panic_noser/data/uc_over_timeout +6 -0
@@ -0,0 +1,6 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED OVER
+MCGSTATUS RIPV EIPV MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
+NOBROADCAST
testcases/mce-test/cases/soft-inj/panic_npcc/cases.sh +108 -0

108 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/panic_npcc/data/fatal_severity +16 -0
@@ -0,0 +1,16 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 3
+MCGSTATUS RIPV EIPV MCIP
+# S is regarded as SRAO for SER_P = 1 and ignored otherwise
+STATUS UNCORRECTED S
+RIP 0x10:0x12343434
+MISC 0x2314
+ADDR 0xabcd1234
+HOLD
+
+CPU 1 BANK 1
+MCGSTATUS MCIP
+STATUS FATAL
+RIP 0x10:0xabcdcdcd
testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_eripv +5 -0
@@ -0,0 +1,5 @@
+CPU 0 BANK 1
+STATUS UNCORRECTED
+MCGSTATUS MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_eripv_timeout +6 -0
@@ -0,0 +1,6 @@
+CPU 0 BANK 1
+STATUS UNCORRECTED
+MCGSTATUS MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
+NOBROADCAST
testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_mcip +4 -0
@@ -0,0 +1,4 @@
+CPU 0 BANK 1
+STATUS UNCORRECTED
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_mcip_timeout +5 -0
@@ -0,0 +1,5 @@
+CPU 0 BANK 1
+STATUS UNCORRECTED
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
+NOBROADCAST
testcases/mce-test/cases/soft-inj/panic_npcc/data/uncorrected +7 -0
@@ -0,0 +1,7 @@
+# this should just kill the process
+CPU 0 BANK 2
+STATUS UNCORRECTED
+MCGSTATUS EIPV MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
+IN_PROC
\ No newline at end of file
testcases/mce-test/cases/soft-inj/panic_npcc/data/uncorrected_timeout +8 -0
@@ -0,0 +1,8 @@
+# this should just kill the process
+CPU 0 BANK 2
+STATUS UNCORRECTED
+MCGSTATUS EIPV MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
+IN_PROC
+NOBROADCAST
testcases/mce-test/cases/soft-inj/panic_npcc/data/unknown +3 -0
@@ -0,0 +1,3 @@
+# this should just kill the process
+CPU 0 BANK 2
+STATUS UC
testcases/mce-test/cases/soft-inj/panic_ucr/cases.sh +71 -0

71 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/panic_ucr/data/s0_ar1 +5 -0
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED AR
+MCGSTATUS RIPV EIPV MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
testcases/mce-test/cases/soft-inj/panic_ucr/data/srar_no_en +6 -0
@@ -0,0 +1,6 @@
+CPU 0 BANK 2
+STATUS VAL UC SRAR
+MCGSTATUS EIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x2eadbabe
+
testcases/mce-test/cases/soft-inj/panic_ucr/data/srar_over +5 -0
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAR OVER
+MCGSTATUS EIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/panic_ucr/data/srar_unkown +5 -0
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAR
+MCGSTATUS EIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x2eadbabe
testcases/mce-test/cases/soft-inj/panic_ucr/refer/srar_no_en +1 -0
@@ -0,0 +1 @@
+#empty
testcases/mce-test/cases/soft-inj/poll_ucr/cases.sh +49 -0

49 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/poll_ucr/data/ucna +7 -0
@@ -0,0 +1,7 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED UCNA
+ADDR 0x1234
+MISC 0x8c
+POLL
+HOLD
+CPU 1 BANK 0
\ No newline at end of file
testcases/mce-test/cases/soft-inj/poll_ucr/data/ucna_over +6 -0
@@ -0,0 +1,6 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED UCNA OVER
+ADDR 0x1234
+MISC 0x8c
+POLL
+
testcases/mce-test/cases/soft-inj/recoverable_ucr/cases.sh +56 -0

56 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_corrected +11 -0
@@ -0,0 +1,11 @@
+CPU 1 BANK 1
+MCGSTATUS RIPV MCIP
+STATUS CORRECTED
+EXCP
+HOLD
+
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_ewb +6 -0
@@ -0,0 +1,6 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO 0x17a
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+MISC 0x8c
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_ewb_noripv +5 -0
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO 0x17a
+MCGSTATUS MCIP
+ADDR 0x1234
+MISC 0x8c
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_mem_scrub +6 -0
@@ -0,0 +1,6 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO 0xc0
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+MISC 0x8c
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_mem_scrub_noripv +5 -0
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO 0xc0
+MCGSTATUS MCIP
+ADDR 0x1234
+MISC 0x8c
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_no_en +5 -0
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS VAL UC SRAO
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_over +5 -0
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO OVER
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_ucna +11 -0
@@ -0,0 +1,11 @@
+CPU 1 BANK 1
+MCGSTATUS RIPV MCIP
+STATUS UNCORRECTED UCNA
+EXCP
+HOLD
+
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_unknown +5 -0
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_corrected +5 -0
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_no_en +1 -0
@@ -0,0 +1 @@
+#empty
testcases/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_ucna +6 -0
@@ -0,0 +1,6 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
+
testcases/mce-test/config/kdump_noser.conf +6 -0
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic/cases.sh soft-inj/panic_npcc/cases.sh soft-inj/panic_noser/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/kdump_panic.conf +6 -0
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/kdump_panic_noser.conf +6 -0
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic_noser/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/kdump_panic_npcc.conf +6 -0
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic_npcc/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/kdump_panic_ucr.conf +6 -0
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic_ucr/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/kdump_ser.conf +6 -0
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic/cases.sh soft-inj/panic_npcc/cases.sh soft-inj/panic_ucr/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/simple_non_panic.conf +4 -0
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/non-panic/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_nopanic_noser.conf +4 -0
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/non-panic/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_nopanic_ser.conf +4 -0
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/non-panic/cases.sh soft-inj/poll_ucr/cases.sh soft-inj/recoverable_ucr/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_noser.conf +4 -0
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/non-panic/cases.sh soft-inj/panic/cases.sh soft-inj/panic_npcc/cases.sh soft-inj/panic_noser/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_panic.conf +4 -0
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/panic/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_panic_noser.conf +4 -0
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/panic_noser/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_panic_npcc.conf +4 -0
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/panic_npcc/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_panic_ucr.conf +4 -0
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/panic_ucr/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_poll_ucr.conf +4 -0
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/poll_ucr/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_recoverable_ucr.conf +4 -0
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/recoverable_ucr/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_ser.conf +4 -0
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/non-panic/cases.sh soft-inj/panic/cases.sh soft-inj/panic_npcc/cases.sh soft-inj/poll_ucr/cases.sh soft-inj/panic_ucr/cases.sh soft-inj/recoverable_ucr/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/COPYING +340 -0

340 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_non-panic.txt +66 -0

66 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_panic_noser.txt +83 -0

83 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_panic_npcc.txt +145 -0

145 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_panic.txt +173 -0

173 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_panic_ucr.txt +100 -0

100 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_poll_ucr.txt +44 -0

44 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_recoverable_ucr.txt +138 -0

138 lines not on this page · raw message

testcases/mce-test/doc/howto.txt +462 -0

462 lines not on this page · raw message

testcases/mce-test/doc/verify.txt +33 -0
@@ -0,0 +1,33 @@
+To verify the result of MCE testing, the MCE record from kernel (via
+/dev/mcelog or panic information) should be compared with reference
+MCE record (for software inject error: the input MCE record). To
+compare MCE record, the following scheme is proposed:
+
+- Define a standard MCE record representation format. It should be
+  human readable, compatible with MCE parser in mce-inject, easy to
+  manipulate in shell (such as remove a field), easy to compare
+  (literally).
+
+  One MCE record is as follow:
+
+  CPU NUMBER
+  BANK NUMBER
+  TSC NUMBER
+  RIP NUMBER
+  ADDR NUMBER
+  MISC NUMBER
+  STATUS NUMBER
+  MCGSTATUS NUMBER
+
+  Multiple MCE records are separated by one empty line.
+
+- Enhance mce-inject or develop a new tool to convert from other
+  format to standard format.
+
+- Develop a new tool based on /usr/sbin/mcelog to output mce-inject
+  compatible MCE record. Because there may be different (uncompatible
+  version) /usr/sbin/mcelog on different machine.
+
+- During verifying, firstly convert various MCE recoards from kernel
+  and reference MCE records to standard format, then compare the
+  standard format MCE records in shell.
testcases/mce-test/drivers/kdump/driver.sh +280 -0

280 lines not on this page · raw message

testcases/mce-test/drivers/kdump/setup.sh +105 -0

105 lines not on this page · raw message

testcases/mce-test/drivers/simple/driver.sh +119 -0

119 lines not on this page · raw message

testcases/mce-test/lib/dirs.sh +21 -0
@@ -0,0 +1,21 @@
+#
+# Setup environment variable for various directories.
+#
+# Copyright (C) 2008, Intel Corp.
+#   Author: Huang Ying <[email protected]>
+#
+# This file is released under the GPLv2.
+#
+
+RCDIR=cases
+RCONF_DIR=config
+RRDIR=results
+RWDIR=work
+RLDIR=lib
+
+SDIR=$(script_dir)
+CDIR=$ROOT/cases
+CONF_DIR=$ROOT/config
+RDIR=$ROOT/results/$driver
+WDIR=$ROOT/work/$driver
+LDIR=$ROOT/lib
testcases/mce-test/lib/functions.sh +90 -0

27 lines not on this page · raw message

testcases/mce-test/lib/mce.sh +311 -0

311 lines not on this page · raw message

testcases/mce-test/lib/soft-inject.sh +146 -0

146 lines not on this page · raw message

testcases/mce-test/Makefile +30 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/README +87 -0

87 lines not on this page · raw message

testcases/mce-test/tools/gcov_merge.py +76 -0

76 lines not on this page · raw message

testcases/mce-test/tools/grep_result.sh +12 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tools/Makefile +12 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tools/mce_shell.sh +50 -0

50 lines not on this page · raw message

testcases/mce-test/tools/readcore/.depend +3 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tools/readcore/Makefile +28 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tools/readcore/mem_image.c +232 -0

232 lines not on this page · raw message

testcases/mce-test/tools/readcore/mem_image.h +15 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tools/readcore/readcore.c +80 -0

80 lines not on this page · raw message

testcases/mce-test/tools/readcore/util.c +34 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tools/readcore/util.h +17 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tools/scov_merge.py +68 -0

68 lines not on this page · raw message

testcases/mce-test/tsrc/kinclude/linux/debugfs.h +15 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/kinclude/linux/fs.h +10 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/kinclude/linux/init.h +5 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/kinclude/linux/percpu.h +9 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/kinclude/linux/seq_file.h +22 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/kinclude/linux/sysdev.h +2 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/kinclude/README +3 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/Makefile +42 -0

42 lines not on this page · raw message

testcases/mce-test/tsrc/README +55 -0

55 lines not on this page · raw message

testcases/mce-test/tsrc/tcases.c +99 -0

99 lines not on this page · raw message

testcases/mce-test/tsrc/tinjpage.c +527 -0

527 lines not on this page · raw message

testcases/mce-test/tsrc/tinjpage-working.c +151 -0

151 lines not on this page · raw message

testcases/mce-test/tsrc/tkillpoison.c +21 -0

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/tring.c +85 -0

85 lines not on this page · raw message

testcases/mce-test/tsrc/ttable.c +258 -0

258 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

---
Regards--
Subrata

Quoted 3 lines

Best Regards,
Huang Ying

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Part of the diff is not shown here. View the raw message.

#1 lore raw

Hi Huang Ying,

Quoted 16 lines · Subrata Modak

Hi Huang Ying,

Quoted 14 lines · Huang Ying

Hi, All,

We are working on a test suite to test the Linux kernel MCE handling logic named mce-test, which can be find at:
git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git. There is a HOWTO for it, which is attached with the mail.

We think the testing target of mce-test is part of that of LTP, so it is better to integrate mce-test into LTP. Do you think so?

As for integration scheme, maybe we can first add mce-test into LTP as a separate test case, just as kdump test case. What's your opinions?

Quoted 8 lines
Quoted 2 lines

Any comment is welcome!

Sorry for the very late response to your proposal. Please find below the first patch which will integrate the existing mce-test to LTP. I had just done a sanity checking of building it. The following patch will still need:

1) Exclusive testing and sharing those results with the LTP community,

My initial first tests results are:

# uname -a
Linux x206f 2.6.29-gcov #1 SMP Fri Jun 19 12:14:27 IST 2009 i686 i686
i386 GNU/Linux
# grep -i mce ../../kernels/linux-2.6.29/.config 
CONFIG_X86_MCE=y
# CONFIG_X86_MCE_NONFATAL is not set
CONFIG_X86_MCE_P4THERMAL=y
# which gcov
/usr/bin/gcov
# grep -i cov ../../kernels/linux-2.6.29/.config 
# Linux kernel version: 2.6.29-gcov
# GCOV coverage profiling
CONFIG_GCOV_PROFILE=y
CONFIG_GCOV_ALL=y
CONFIG_GCOV_PROC=m
CONFIG_GCOV_HAMMER=y
# which mcelog
/usr/sbin/mcelog
# which mce-inject
/usr/sbin/mce-inject
# cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 3
model name      : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping        : 4
cpu MHz         : 2800.490
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
constant_tsc pebs bts pni dtes64 monitor ds_cpl cid xtpr
bogomips        : 5600.98
clflush size    : 64
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 3
model name : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping : 4
cpu MHz : 2800.490
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pebs bts pni dtes64 monitor ds_cpl cid xtpr
bogomips : 5600.04
clflush size : 64
power management:

# vi Makefile 
test-simple:
        $(MAKE) reset
        #./drivers/simple/driver.sh simple.conf
        ./drivers/simple/driver.sh simple_non_panic.conf
# make test-simple
make reset
make[1]: Entering directory `/root/subrata/ltp/mce-test'
rm -rf work/*
rm -rf results/*
make[1]: Leaving directory `/root/subrata/ltp/mce-test'
#./drivers/simple/driver.sh simple.conf
./drivers/simple/driver.sh simple_non_panic.conf
gcov is not supported by kernel, or there is no gcov utility installed,
disable gcov support.
/root/subrata/ltp/mce-test/lib/mce.sh: line
304: /sys/devices/system/machinecheck/machinecheck0/fake_panic: No such
file or directory

soft-inj/non-panic/corrected:
Failed: can not get mce log from /dev/mcelog
Failed: MCE log is different from input
Passed: No kernel warning or bug
/root/subrata/ltp/mce-test/lib/mce.sh: line
304: /sys/devices/system/machinecheck/machinecheck0/fake_panic: No such file or directory
/root/subrata/ltp/mce-test/lib/mce.sh: line
304: /sys/devices/system/machinecheck/machinecheck0/fake_panic: No such file or directory

soft-inj/non-panic/corrected_hold:
Failed: can not get mce log from /dev/mcelog
Failed: MCE log is different from input
Passed: No kernel warning or bug
/root/subrata/ltp/mce-test/lib/mce.sh: line
304: /sys/devices/system/machinecheck/machinecheck0/fake_panic: No such file or directory
/root/subrata/ltp/mce-test/lib/mce.sh: line
304: /sys/devices/system/machinecheck/machinecheck0/fake_panic: No such file or directory

soft-inj/non-panic/corrected_no_en:
Failed: can not get mce log from /dev/mcelog
Failed: MCE log is different from input
Passed: No kernel warning or bug
/root/subrata/ltp/mce-test/lib/mce.sh: line
304: /sys/devices/system/machinecheck/machinecheck0/fake_panic: No such file or directory
/root/subrata/ltp/mce-test/lib/mce.sh: line
304: /sys/devices/system/machinecheck/machinecheck0/fake_panic: No such file or directory

soft-inj/non-panic/corrected_over:
Failed: can not get mce log from /dev/mcelog
Failed: MCE log is different from input
Passed: No kernel warning or bug
/root/subrata/ltp/mce-test/lib/mce.sh: line
304: /sys/devices/system/machinecheck/machinecheck0/fake_panic: No such file or directory

Please also find the results attached.

Some inconsistencies:
1) GCOV is already built in the booted kernel, still the error message,
2) Absence of /sys/devices/system/machinecheck/ though the kernel .config suggests that:
CONFIG_X86_MCE=y
# CONFIG_X86_MCE_NONFATAL is not set CONFIG_X86_MCE_P4THERMAL=y

Is there something i am missing in the setup ?

Regards--
Subrata

Quoted 14 lines

2) Comments for and rewriting of this patch for coding styles,
3) Sign off from Huang Ying <[email protected]>, or, the concerned Authors,

Patch-created-for-ltp-integration-by Subrata Modak<[email protected]>

Signed-off-by-is-still-required-from: Huang Ying <[email protected]>
---

---
Regards--
Subrata

Quoted 3 lines

Best Regards,
Huang Ying

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw
Quoted 26 lines · Subrata Modak

Hi Huang Ying,

Quoted 23 lines · Subrata Modak

Hi Huang Ying,

Quoted 8 lines · Huang Ying

Hi, All,

We are working on a test suite to test the Linux kernel MCE handling logic named mce-test, which can be find at:
git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git. There is a HOWTO for it, which is attached with the mail.

Quoted 8 lines

We think the testing target of mce-test is part of that of LTP, so it is better to integrate mce-test into LTP. Do you think so?

As for integration scheme, maybe we can first add mce-test into LTP as a separate test case, just as kdump test case. What's your opinions?

Any comment is welcome!

Sorry for the very late response to your proposal. Please find below the first patch which will integrate the existing mce-test to LTP. I had just done a sanity checking of building it. The following patch will still need:

Quoted 7 lines
Quoted 1 line

1) Exclusive testing and sharing those results with the LTP community,

My initial first tests results are:

# uname -a
Linux x206f 2.6.29-gcov #1 SMP Fri Jun 19 12:14:27 IST 2009 i686 i686
i386 GNU/Linux

mce-test needs at least Linux kernel 2.6.31-rc? and some additional injection related patches from:
http://ftp.kernel.org/pub/linux/kernel/people/yhuang/mce/. We are working on pushing these additional patches into 2.6.32.

Best Regards,
Huang Ying

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#3 lore raw
Quoted 31 lines · Huang Ying
Quoted 30 lines · Subrata Modak

Hi Huang Ying,

Quoted 16 lines · Subrata Modak

Hi Huang Ying,

Quoted 14 lines · Huang Ying

Hi, All,

We are working on a test suite to test the Linux kernel MCE handling logic named mce-test, which can be find at:
git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git. There is a HOWTO for it, which is attached with the mail.

We think the testing target of mce-test is part of that of LTP, so it is better to integrate mce-test into LTP. Do you think so?

As for integration scheme, maybe we can first add mce-test into LTP as a separate test case, just as kdump test case. What's your opinions?

Quoted 8 lines
Quoted 2 lines

Any comment is welcome!

Sorry for the very late response to your proposal. Please find below the first patch which will integrate the existing mce-test to LTP. I had just done a sanity checking of building it. The following patch will still need:

1) Exclusive testing and sharing those results with the LTP community,

My initial first tests results are:

Quoted 9 lines
Quoted 3 lines
# uname -a
Linux x206f 2.6.29-gcov #1 SMP Fri Jun 19 12:14:27 IST 2009 i686 i686
i386 GNU/Linux

mce-test needs at least Linux kernel 2.6.31-rc? and some additional injection related patches from:
http://ftp.kernel.org/pub/linux/kernel/people/yhuang/mce/. We are working on pushing these additional patches into 2.6.32.

Can you please then provide this information inside mce-test/README, so that users are exactly aware of:

1. Which kernel to pick up,
2. Which additional patches to apply,
3. Which config options to set,

before building and running these tests.

Once mainline stable releases are through, you can then again update mce-test/README with similar information.

I would like people to start doing some testing with your present mce-test as well. As suggested by Andi, please drop in:

1. a minimal patch which adds the tests(you want) to LTP,
2. update mce-test/README in the same patch with all the above info,
3. attach test results against the patches you have dropped to ltp,

Regards--
Subrata

Quoted 4 lines

Best Regards,
Huang Ying

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#4 lore raw
Quoted 42 lines · Subrata Modak
Quoted 31 lines · Huang Ying
Quoted 30 lines · Subrata Modak

Hi Huang Ying,

Quoted 16 lines · Subrata Modak

Hi Huang Ying,

Quoted 14 lines · Huang Ying

Hi, All,

We are working on a test suite to test the Linux kernel MCE handling logic named mce-test, which can be find at:
git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git. There is a HOWTO for it, which is attached with the mail.

We think the testing target of mce-test is part of that of LTP, so it is better to integrate mce-test into LTP. Do you think so?

As for integration scheme, maybe we can first add mce-test into LTP as a separate test case, just as kdump test case. What's your opinions?

Quoted 8 lines
Quoted 2 lines

Any comment is welcome!

Sorry for the very late response to your proposal. Please find below the first patch which will integrate the existing mce-test to LTP. I had just done a sanity checking of building it. The following patch will still need:

1) Exclusive testing and sharing those results with the LTP community,

My initial first tests results are:

Quoted 9 lines
Quoted 3 lines
# uname -a
Linux x206f 2.6.29-gcov #1 SMP Fri Jun 19 12:14:27 IST 2009 i686 i686
i386 GNU/Linux

mce-test needs at least Linux kernel 2.6.31-rc? and some additional injection related patches from:
http://ftp.kernel.org/pub/linux/kernel/people/yhuang/mce/. We are working on pushing these additional patches into 2.6.32.

Quoted 8 lines

Can you please then provide this information inside mce-test/README, so that users are exactly aware of:

1. Which kernel to pick up,
2. Which additional patches to apply,
3. Which config options to set,

before building and running these tests.

I have add these information into the HOWTO in mce-test/doc/howto.txt. In README, there is a "pointer" to howto.txt in section test instruction. Is it OK for you?

Quoted 2 lines

Once mainline stable releases are through, you can then again update mce-test/README with similar information.

OK. I will update the document after upstream merging.

Quoted 7 lines

I would like people to start doing some testing with your present mce-test as well. As suggested by Andi, please drop in:

1. a minimal patch which adds the tests(you want) to LTP,
2. update mce-test/README in the same patch with all the above info,
3. attach test results against the patches you have dropped to ltp,

OK. I will do this.

I will check the coding style with checkpatch.pl. Do you have other comments about the code?

Best Regards,
Huang Ying

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#5 lore raw
Quoted 3 lines

I will check the coding style with checkpatch.pl. Do you have other comments about the code?

I would prefer no wide scale reformattings for now, that will impact any out of tree patches other people have and the benefits would seem to be small.

The code is probably not fully compliant, but should be close enough to kernel style (after all it was written by experienced kernel developers)

-Andi
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#6 lore raw

Hi, Subrata,

What's your opinions about Andi's comments?

Best Regards,
Huang Ying

Quoted 11 lines · Andi
Quoted 2 lines

I will check the coding style with checkpatch.pl. Do you have other comments about the code?

I would prefer no wide scale reformattings for now, that will impact any out of tree patches other people have and the benefits would seem to be small.

The code is probably not fully compliant, but should be close enough to kernel style (after all it was written by experienced kernel developers)

-Andi

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#7 lore raw

Hi,

Quoted 17 lines · Huang Ying

Hi, Subrata,

What's your opinions about Andi's comments?

Best Regards,
Huang Ying

Quoted 9 lines · Andi
Quoted 2 lines

I will check the coding style with checkpatch.pl. Do you have other comments about the code?

I would prefer no wide scale reformattings for now, that will impact any out of tree patches other people have and the benefits would seem to be small.

The code is probably not fully compliant, but should be close enough to kernel style (after all it was written by experienced kernel developers)

Lets see, how much your patch will impact. If necessary, i will make some changes before check-in. But do remember to provide those info i had asked for in your patch ;-)

Regards--
Subrata

Quoted 3 lines
Quoted 2 lines

-Andi

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#8 lore raw

Hi, Subrata,

This is the first version of patch. Please feed back your comments. Test results are attached with the mail too.

Best Regards,
Huang Ying ----------------------------------------------------------> Integrate MCE test suite into LTP

mce-test is a collection of tools and test scripts for testing the Linux kernel x86 MCE (Machine Check Exception) processing features. This patch integrate that into LTP.

---

testcases/mce-test/bin/.cvsignore +1 -0
diff -urNp ltp.orig/testcases/mce-test/bin/.cvsignore ltp/testcases/mce-test/bin/.cvsignore
@@ -0,0 +1 @@
+*
testcases/mce-test/cases/soft-inj/non-panic/cases.sh +55 -0

55 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/non-panic/data/corrected +14 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/non-panic/data/corrected ltp/testcases/mce-test/cases/soft-inj/non-panic/data/corrected
@@ -0,0 +1,14 @@
+# 
+# log corrected machine checks
+CPU 0 BANK 1
+STATUS CORRECTED
+ADDR 0xabcd
+HOLD
+CPU 1 BANK 0
+#  
+CPU 1 BANK 2
+STATUS CORRECTED
+MISC 0xabcd
+ADDR 0x1234
+HOLD
+CPU 0 BANK 0
testcases/mce-test/cases/soft-inj/non-panic/data/corrected_hold +10 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/non-panic/data/corrected_hold ltp/testcases/mce-test/cases/soft-inj/non-panic/data/corrected_hold
@@ -0,0 +1,10 @@
+# 
+# log two corrected machine checks
+CPU 0 BANK 1
+STATUS CORRECTED
+ADDR 0xabcd
+HOLD
+#  
+CPU 1 BANK 2
+STATUS CORRECTED
+ADDR 0x1234
testcases/mce-test/cases/soft-inj/non-panic/data/corrected_no_en +5 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/non-panic/data/corrected_no_en ltp/testcases/mce-test/cases/soft-inj/non-panic/data/corrected_no_en
@@ -0,0 +1,5 @@
+#
+CPU 0 BANK 3
+STATUS VAL
+HOLD
+CPU 1 BANK 0
\ No newline at end of file
testcases/mce-test/cases/soft-inj/non-panic/data/corrected_over +4 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/non-panic/data/corrected_over ltp/testcases/mce-test/cases/soft-inj/non-panic/data/corrected_over
@@ -0,0 +1,4 @@
+CPU 0 BANK 2
+STATUS VAL OVER EN
+HOLD
+CPU 1 BANK 0
testcases/mce-test/cases/soft-inj/panic/cases.sh +89 -0

89 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/panic/data/fatal +8 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic/data/fatal ltp/testcases/mce-test/cases/soft-inj/panic/data/fatal
@@ -0,0 +1,8 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 4
+MCGSTATUS MCIP
+STATUS FATAL
+RIP 12343434
+MISC 11
testcases/mce-test/cases/soft-inj/panic/data/fatal_eipv +7 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic/data/fatal_eipv ltp/testcases/mce-test/cases/soft-inj/panic/data/fatal_eipv
@@ -0,0 +1,7 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 1 BANK 4
+MCGSTATUS MCIP EIPV
+STATUS FATAL
+RIP 0x10:0x12343434
testcases/mce-test/cases/soft-inj/panic/data/fatal_irq +9 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic/data/fatal_irq ltp/testcases/mce-test/cases/soft-inj/panic/data/fatal_irq
@@ -0,0 +1,9 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 4
+MCGSTATUS MCIP
+STATUS FATAL
+RIP 12343434
+MISC 11
+IN_IRQ
testcases/mce-test/cases/soft-inj/panic/data/fatal_no_en +8 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic/data/fatal_no_en ltp/testcases/mce-test/cases/soft-inj/panic/data/fatal_no_en
@@ -0,0 +1,8 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 4
+MCGSTATUS MCIP
+STATUS UC VAL PCC
+RIP 0x10:12343434
+MISC 11
testcases/mce-test/cases/soft-inj/panic/data/fatal_over +9 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic/data/fatal_over ltp/testcases/mce-test/cases/soft-inj/panic/data/fatal_over
@@ -0,0 +1,9 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 4
+MCGSTATUS MCIP
+STATUS FATAL OVER
+RIP 12343434
+MISC 11
+
testcases/mce-test/cases/soft-inj/panic/data/fatal_ripv +7 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic/data/fatal_ripv ltp/testcases/mce-test/cases/soft-inj/panic/data/fatal_ripv
@@ -0,0 +1,7 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 1 BANK 4
+MCGSTATUS MCIP RIPV
+STATUS FATAL
+RIP 0x10:0x12343434
testcases/mce-test/cases/soft-inj/panic/data/fatal_timeout +9 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic/data/fatal_timeout ltp/testcases/mce-test/cases/soft-inj/panic/data/fatal_timeout
@@ -0,0 +1,9 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 4
+MCGSTATUS MCIP
+STATUS FATAL
+RIP 0x10:0x12343434
+MISC 0xb
+NOBROADCAST
testcases/mce-test/cases/soft-inj/panic/data/fatal_timeout_ripv +9 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic/data/fatal_timeout_ripv ltp/testcases/mce-test/cases/soft-inj/panic/data/fatal_timeout_ripv
@@ -0,0 +1,9 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 4
+MCGSTATUS MCIP RIPV
+STATUS FATAL
+RIP 0x10:0x12343434
+MISC 0xb
+NOBROADCAST
testcases/mce-test/cases/soft-inj/panic/data/fatal_userspace +7 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic/data/fatal_userspace ltp/testcases/mce-test/cases/soft-inj/panic/data/fatal_userspace
@@ -0,0 +1,7 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 1 BANK 4
+MCGSTATUS MCIP EIPV
+STATUS FATAL
+RIP 0x73:0x12343434
testcases/mce-test/cases/soft-inj/panic/refer/fatal_no_en +1 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic/refer/fatal_no_en ltp/testcases/mce-test/cases/soft-inj/panic/refer/fatal_no_en
@@ -0,0 +1 @@
+# empty mcelog
testcases/mce-test/cases/soft-inj/panic_noser/cases.sh +61 -0

61 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/panic_noser/data/uc_over +6 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_noser/data/uc_over ltp/testcases/mce-test/cases/soft-inj/panic_noser/data/uc_over
@@ -0,0 +1,6 @@
+# this should just kill the process
+CPU 0 BANK 2
+STATUS UNCORRECTED OVER
+MCGSTATUS RIPV EIPV MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
testcases/mce-test/cases/soft-inj/panic_noser/data/uc_over_corrected +13 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_noser/data/uc_over_corrected ltp/testcases/mce-test/cases/soft-inj/panic_noser/data/uc_over_corrected
@@ -0,0 +1,13 @@
+CPU 1 BANK 1
+MCGSTATUS RIPV MCIP
+STATUS CORRECTED
+RIP 0x13:0x12345678
+IN_PROC
+EXCP
+HOLD
+
+CPU 0 BANK 2
+STATUS UNCORRECTED OVER
+MCGSTATUS RIPV EIPV MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
testcases/mce-test/cases/soft-inj/panic_noser/data/uc_over_timeout +6 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_noser/data/uc_over_timeout ltp/testcases/mce-test/cases/soft-inj/panic_noser/data/uc_over_timeout
@@ -0,0 +1,6 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED OVER
+MCGSTATUS RIPV EIPV MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
+NOBROADCAST
testcases/mce-test/cases/soft-inj/panic_npcc/cases.sh +108 -0

108 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/panic_npcc/data/fatal_severity +16 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_npcc/data/fatal_severity ltp/testcases/mce-test/cases/soft-inj/panic_npcc/data/fatal_severity
@@ -0,0 +1,16 @@
+# WARNING
+# this will panic your machine!
+# don't try casually
+CPU 0 BANK 3
+MCGSTATUS RIPV EIPV MCIP
+# S is regarded as SRAO for SER_P = 1 and ignored otherwise
+STATUS UNCORRECTED S
+RIP 0x10:0x12343434
+MISC 0x2314
+ADDR 0xabcd1234
+HOLD
+
+CPU 1 BANK 1
+MCGSTATUS MCIP
+STATUS FATAL
+RIP 0x10:0xabcdcdcd
testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_eripv +5 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_eripv ltp/testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_eripv
@@ -0,0 +1,5 @@
+CPU 0 BANK 1
+STATUS UNCORRECTED
+MCGSTATUS MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_eripv_timeout +6 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_eripv_timeout ltp/testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_eripv_timeout
@@ -0,0 +1,6 @@
+CPU 0 BANK 1
+STATUS UNCORRECTED
+MCGSTATUS MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
+NOBROADCAST
testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_mcip +4 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_mcip ltp/testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_mcip
@@ -0,0 +1,4 @@
+CPU 0 BANK 1
+STATUS UNCORRECTED
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_mcip_timeout +5 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_mcip_timeout ltp/testcases/mce-test/cases/soft-inj/panic_npcc/data/uc_no_mcip_timeout
@@ -0,0 +1,5 @@
+CPU 0 BANK 1
+STATUS UNCORRECTED
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
+NOBROADCAST
testcases/mce-test/cases/soft-inj/panic_npcc/data/uncorrected +7 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_npcc/data/uncorrected ltp/testcases/mce-test/cases/soft-inj/panic_npcc/data/uncorrected
@@ -0,0 +1,7 @@
+# this should just kill the process
+CPU 0 BANK 2
+STATUS UNCORRECTED
+MCGSTATUS EIPV MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
+IN_PROC
\ No newline at end of file
testcases/mce-test/cases/soft-inj/panic_npcc/data/uncorrected_timeout +8 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_npcc/data/uncorrected_timeout ltp/testcases/mce-test/cases/soft-inj/panic_npcc/data/uncorrected_timeout
@@ -0,0 +1,8 @@
+# this should just kill the process
+CPU 0 BANK 2
+STATUS UNCORRECTED
+MCGSTATUS EIPV MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
+IN_PROC
+NOBROADCAST
testcases/mce-test/cases/soft-inj/panic_npcc/data/unknown +3 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_npcc/data/unknown ltp/testcases/mce-test/cases/soft-inj/panic_npcc/data/unknown
@@ -0,0 +1,3 @@
+# this should just kill the process
+CPU 0 BANK 2
+STATUS UC
testcases/mce-test/cases/soft-inj/panic_ucr/cases.sh +78 -0

78 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/panic_ucr/data/s0_ar1 +5 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_ucr/data/s0_ar1 ltp/testcases/mce-test/cases/soft-inj/panic_ucr/data/s0_ar1
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED AR
+MCGSTATUS RIPV EIPV MCIP
+ADDR 0x1234
+RIP 0x10:0xdeadbabe
testcases/mce-test/cases/soft-inj/panic_ucr/data/srao_ewb_noripv +5 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_ucr/data/srao_ewb_noripv ltp/testcases/mce-test/cases/soft-inj/panic_ucr/data/srao_ewb_noripv
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO 0x17a
+MCGSTATUS MCIP
+ADDR 0x1234
+MISC 0x8c
testcases/mce-test/cases/soft-inj/panic_ucr/data/srao_mem_scrub_noripv +5 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_ucr/data/srao_mem_scrub_noripv ltp/testcases/mce-test/cases/soft-inj/panic_ucr/data/srao_mem_scrub_noripv
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO 0xc0
+MCGSTATUS MCIP
+ADDR 0x1234
+MISC 0x8c
testcases/mce-test/cases/soft-inj/panic_ucr/data/srar_no_en +6 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_ucr/data/srar_no_en ltp/testcases/mce-test/cases/soft-inj/panic_ucr/data/srar_no_en
@@ -0,0 +1,6 @@
+CPU 0 BANK 2
+STATUS VAL UC SRAR
+MCGSTATUS EIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x2eadbabe
+
testcases/mce-test/cases/soft-inj/panic_ucr/data/srar_over +5 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_ucr/data/srar_over ltp/testcases/mce-test/cases/soft-inj/panic_ucr/data/srar_over
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAR OVER
+MCGSTATUS EIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/panic_ucr/data/srar_unkown +5 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_ucr/data/srar_unkown ltp/testcases/mce-test/cases/soft-inj/panic_ucr/data/srar_unkown
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAR
+MCGSTATUS EIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x2eadbabe
testcases/mce-test/cases/soft-inj/panic_ucr/refer/srar_no_en +1 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/panic_ucr/refer/srar_no_en ltp/testcases/mce-test/cases/soft-inj/panic_ucr/refer/srar_no_en
@@ -0,0 +1 @@
+#empty
testcases/mce-test/cases/soft-inj/poll_ucr/cases.sh +49 -0

49 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/poll_ucr/data/ucna +7 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/poll_ucr/data/ucna ltp/testcases/mce-test/cases/soft-inj/poll_ucr/data/ucna
@@ -0,0 +1,7 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED UCNA
+ADDR 0x1234
+MISC 0x8c
+POLL
+HOLD
+CPU 1 BANK 0
\ No newline at end of file
testcases/mce-test/cases/soft-inj/poll_ucr/data/ucna_over +6 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/poll_ucr/data/ucna_over ltp/testcases/mce-test/cases/soft-inj/poll_ucr/data/ucna_over
@@ -0,0 +1,6 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED UCNA OVER
+ADDR 0x1234
+MISC 0x8c
+POLL
+
testcases/mce-test/cases/soft-inj/recoverable_ucr/cases.sh +50 -0

50 lines not on this page · raw message

testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_corrected +11 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_corrected ltp/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_corrected
@@ -0,0 +1,11 @@
+CPU 1 BANK 1
+MCGSTATUS RIPV MCIP
+STATUS CORRECTED
+EXCP
+HOLD
+
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_ewb +6 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_ewb ltp/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_ewb
@@ -0,0 +1,6 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO 0x17a
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+MISC 0x8c
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_mem_scrub +6 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_mem_scrub ltp/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_mem_scrub
@@ -0,0 +1,6 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO 0xc0
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+MISC 0x8c
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_no_en +5 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_no_en ltp/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_no_en
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS VAL UC SRAO
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_over +5 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_over ltp/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_over
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO OVER
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_ucna +11 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_ucna ltp/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_ucna
@@ -0,0 +1,11 @@
+CPU 1 BANK 1
+MCGSTATUS RIPV MCIP
+STATUS UNCORRECTED UCNA
+EXCP
+HOLD
+
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_unknown +5 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_unknown ltp/testcases/mce-test/cases/soft-inj/recoverable_ucr/data/srao_unknown
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_corrected +5 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_corrected ltp/testcases/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_corrected
@@ -0,0 +1,5 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
testcases/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_no_en +1 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_no_en ltp/testcases/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_no_en
@@ -0,0 +1 @@
+#empty
testcases/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_ucna +6 -0
diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_ucna ltp/testcases/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_ucna
@@ -0,0 +1,6 @@
+CPU 0 BANK 2
+STATUS UNCORRECTED SRAO
+MCGSTATUS RIPV MCIP
+ADDR 0x1234
+RIP 0x73:0x1eadbabe
+
testcases/mce-test/config/kdump.conf +6 -0
diff -urNp ltp.orig/testcases/mce-test/config/kdump.conf ltp/testcases/mce-test/config/kdump.conf
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic/cases.sh soft-inj/panic_npcc/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/kdump_noser.conf +6 -0
diff -urNp ltp.orig/testcases/mce-test/config/kdump_noser.conf ltp/testcases/mce-test/config/kdump_noser.conf
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic/cases.sh soft-inj/panic_npcc/cases.sh soft-inj/panic_noser/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/kdump_panic.conf +6 -0
diff -urNp ltp.orig/testcases/mce-test/config/kdump_panic.conf ltp/testcases/mce-test/config/kdump_panic.conf
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/kdump_panic_noser.conf +6 -0
diff -urNp ltp.orig/testcases/mce-test/config/kdump_panic_noser.conf ltp/testcases/mce-test/config/kdump_panic_noser.conf
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic_noser/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/kdump_panic_npcc.conf +6 -0
diff -urNp ltp.orig/testcases/mce-test/config/kdump_panic_npcc.conf ltp/testcases/mce-test/config/kdump_panic_npcc.conf
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic_npcc/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/kdump_panic_ucr.conf +6 -0
diff -urNp ltp.orig/testcases/mce-test/config/kdump_panic_ucr.conf ltp/testcases/mce-test/config/kdump_panic_ucr.conf
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic_ucr/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/kdump_ser.conf +6 -0
diff -urNp ltp.orig/testcases/mce-test/config/kdump_ser.conf ltp/testcases/mce-test/config/kdump_ser.conf
@@ -0,0 +1,6 @@
+
+CASES="soft-inj/panic/cases.sh soft-inj/panic_npcc/cases.sh soft-inj/panic_ucr/cases.sh"
+COREDIR="/var/crash"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
+VMLINUX=$KSRC_DIR/vmlinux
testcases/mce-test/config/simple.conf +4 -0
diff -urNp ltp.orig/testcases/mce-test/config/simple.conf ltp/testcases/mce-test/config/simple.conf
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/non-panic/cases.sh soft-inj/panic/cases.sh soft-inj/panic_npcc/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_non_panic.conf +4 -0
diff -urNp ltp.orig/testcases/mce-test/config/simple_non_panic.conf ltp/testcases/mce-test/config/simple_non_panic.conf
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/non-panic/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_nopanic_noser.conf +4 -0
diff -urNp ltp.orig/testcases/mce-test/config/simple_nopanic_noser.conf ltp/testcases/mce-test/config/simple_nopanic_noser.conf
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/non-panic/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_nopanic_ser.conf +4 -0
diff -urNp ltp.orig/testcases/mce-test/config/simple_nopanic_ser.conf ltp/testcases/mce-test/config/simple_nopanic_ser.conf
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/non-panic/cases.sh soft-inj/poll_ucr/cases.sh soft-inj/recoverable_ucr/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_noser.conf +4 -0
diff -urNp ltp.orig/testcases/mce-test/config/simple_noser.conf ltp/testcases/mce-test/config/simple_noser.conf
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/non-panic/cases.sh soft-inj/panic/cases.sh soft-inj/panic_npcc/cases.sh soft-inj/panic_noser/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_panic.conf +4 -0
diff -urNp ltp.orig/testcases/mce-test/config/simple_panic.conf ltp/testcases/mce-test/config/simple_panic.conf
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/panic/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_panic_noser.conf +4 -0
diff -urNp ltp.orig/testcases/mce-test/config/simple_panic_noser.conf ltp/testcases/mce-test/config/simple_panic_noser.conf
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/panic_noser/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_panic_npcc.conf +4 -0
diff -urNp ltp.orig/testcases/mce-test/config/simple_panic_npcc.conf ltp/testcases/mce-test/config/simple_panic_npcc.conf
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/panic_npcc/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_panic_ucr.conf +4 -0
diff -urNp ltp.orig/testcases/mce-test/config/simple_panic_ucr.conf ltp/testcases/mce-test/config/simple_panic_ucr.conf
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/panic_ucr/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_poll_ucr.conf +4 -0
diff -urNp ltp.orig/testcases/mce-test/config/simple_poll_ucr.conf ltp/testcases/mce-test/config/simple_poll_ucr.conf
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/poll_ucr/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_recoverable_ucr.conf +4 -0
diff -urNp ltp.orig/testcases/mce-test/config/simple_recoverable_ucr.conf ltp/testcases/mce-test/config/simple_recoverable_ucr.conf
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/recoverable_ucr/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/config/simple_ser.conf +4 -0
diff -urNp ltp.orig/testcases/mce-test/config/simple_ser.conf ltp/testcases/mce-test/config/simple_ser.conf
@@ -0,0 +1,4 @@
+
+CASES="soft-inj/non-panic/cases.sh soft-inj/panic/cases.sh soft-inj/panic_npcc/cases.sh soft-inj/poll_ucr/cases.sh soft-inj/panic_ucr/cases.sh soft-inj/recoverable_ucr/cases.sh"
+GCOV=1
+KSRC_DIR=/lib/modules/$(uname -r)/build
testcases/mce-test/COPYING +340 -0

340 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_non-panic.txt +66 -0

66 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_panic_noser.txt +83 -0

83 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_panic_npcc.txt +145 -0

145 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_panic.txt +173 -0

173 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_panic_ucr.txt +135 -0

135 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_poll_ucr.txt +44 -0

44 lines not on this page · raw message

testcases/mce-test/doc/cases/soft-inj_recoverable_ucr.txt +138 -0

138 lines not on this page · raw message

testcases/mce-test/doc/howto.txt +465 -0

465 lines not on this page · raw message

testcases/mce-test/doc/verify.txt +33 -0
diff -urNp ltp.orig/testcases/mce-test/doc/verify.txt ltp/testcases/mce-test/doc/verify.txt
@@ -0,0 +1,33 @@
+To verify the result of MCE testing, the MCE record from kernel (via
+/dev/mcelog or panic information) should be compared with reference
+MCE record (for software inject error: the input MCE record). To
+compare MCE record, the following scheme is proposed:
+
+- Define a standard MCE record representation format. It should be
+  human readable, compatible with MCE parser in mce-inject, easy to
+  manipulate in shell (such as remove a field), easy to compare
+  (literally).
+
+  One MCE record is as follow:
+
+  CPU NUMBER
+  BANK NUMBER
+  TSC NUMBER
+  RIP NUMBER
+  ADDR NUMBER
+  MISC NUMBER
+  STATUS NUMBER
+  MCGSTATUS NUMBER
+
+  Multiple MCE records are separated by one empty line.
+
+- Enhance mce-inject or develop a new tool to convert from other
+  format to standard format.
+
+- Develop a new tool based on /usr/sbin/mcelog to output mce-inject
+  compatible MCE record. Because there may be different (uncompatible
+  version) /usr/sbin/mcelog on different machine.
+
+- During verifying, firstly convert various MCE recoards from kernel
+  and reference MCE records to standard format, then compare the
+  standard format MCE records in shell.
testcases/mce-test/drivers/kdump/driver.sh +281 -0

281 lines not on this page · raw message

testcases/mce-test/drivers/kdump/setup.sh +105 -0

105 lines not on this page · raw message

testcases/mce-test/drivers/simple/driver.sh +120 -0

116 lines not on this page · raw message

testcases/mce-test/lib/dirs.sh +21 -0
diff -urNp ltp.orig/testcases/mce-test/lib/dirs.sh ltp/testcases/mce-test/lib/dirs.sh

Lines of this file are not shown. View the raw message.

testcases/mce-test/lib/functions.sh +90 -0

90 lines not on this page · raw message

testcases/mce-test/lib/mce.sh +311 -0

311 lines not on this page · raw message

testcases/mce-test/lib/soft-inject.sh +146 -0

146 lines not on this page · raw message

testcases/mce-test/Makefile +27 -0
diff -urNp ltp.orig/testcases/mce-test/Makefile ltp/testcases/mce-test/Makefile

Lines of this file are not shown. View the raw message.

testcases/mce-test/README +100 -0

100 lines not on this page · raw message

testcases/mce-test/results/.cvsignore +1 -0
diff -urNp ltp.orig/testcases/mce-test/results/.cvsignore ltp/testcases/mce-test/results/.cvsignore

Lines of this file are not shown. View the raw message.

testcases/mce-test/tools/gcov_merge.py +76 -0

76 lines not on this page · raw message

testcases/mce-test/tools/grep_result.sh +12 -0
diff -urNp ltp.orig/testcases/mce-test/tools/grep_result.sh ltp/testcases/mce-test/tools/grep_result.sh

Lines of this file are not shown. View the raw message.

testcases/mce-test/tools/Makefile +4 -0
diff -urNp ltp.orig/testcases/mce-test/tools/Makefile ltp/testcases/mce-test/tools/Makefile

Lines of this file are not shown. View the raw message.

testcases/mce-test/tools/mce_shell.sh +50 -0

50 lines not on this page · raw message

testcases/mce-test/tools/scov_merge.py +68 -0

68 lines not on this page · raw message

testcases/mce-test/tsrc/kinclude/linux/debugfs.h +15 -0
diff -urNp ltp.orig/testcases/mce-test/tsrc/kinclude/linux/debugfs.h ltp/testcases/mce-test/tsrc/kinclude/linux/debugfs.h

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/kinclude/linux/fs.h +10 -0
diff -urNp ltp.orig/testcases/mce-test/tsrc/kinclude/linux/fs.h ltp/testcases/mce-test/tsrc/kinclude/linux/fs.h

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/kinclude/linux/init.h +5 -0
diff -urNp ltp.orig/testcases/mce-test/tsrc/kinclude/linux/init.h ltp/testcases/mce-test/tsrc/kinclude/linux/init.h

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/kinclude/linux/percpu.h +9 -0
diff -urNp ltp.orig/testcases/mce-test/tsrc/kinclude/linux/percpu.h ltp/testcases/mce-test/tsrc/kinclude/linux/percpu.h

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/kinclude/linux/seq_file.h +22 -0
diff -urNp ltp.orig/testcases/mce-test/tsrc/kinclude/linux/seq_file.h ltp/testcases/mce-test/tsrc/kinclude/linux/seq_file.h

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/kinclude/linux/sysdev.h +2 -0
diff -urNp ltp.orig/testcases/mce-test/tsrc/kinclude/linux/sysdev.h ltp/testcases/mce-test/tsrc/kinclude/linux/sysdev.h

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/kinclude/README +3 -0
diff -urNp ltp.orig/testcases/mce-test/tsrc/kinclude/README ltp/testcases/mce-test/tsrc/kinclude/README

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/Makefile +42 -0

42 lines not on this page · raw message

testcases/mce-test/tsrc/README +55 -0

55 lines not on this page · raw message

testcases/mce-test/tsrc/tcases.c +101 -0

101 lines not on this page · raw message

testcases/mce-test/tsrc/tinjpage.c +529 -0

529 lines not on this page · raw message

testcases/mce-test/tsrc/tinjpage-working.c +151 -0

151 lines not on this page · raw message

testcases/mce-test/tsrc/tkillpoison.c +21 -0
diff -urNp ltp.orig/testcases/mce-test/tsrc/tkillpoison.c ltp/testcases/mce-test/tsrc/tkillpoison.c

Lines of this file are not shown. View the raw message.

testcases/mce-test/tsrc/tring.c +85 -0

85 lines not on this page · raw message

testcases/mce-test/tsrc/ttable.c +260 -0

260 lines not on this page · raw message

testcases/mce-test/work/.cvsignore +1 -0
diff -urNp ltp.orig/testcases/mce-test/work/.cvsignore ltp/testcases/mce-test/work/.cvsignore

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Part of the diff is not shown here. View the raw message.

#9 lore raw
Quoted 14 lines · Huang Ying

***********************
Warning: Your file, mce-test-results.tar.gz, contains more than 32 files after decompression and cannot be scanned.
***********************

Hi, Subrata,

This is the first version of patch. Please feed back your comments. Test results are attached with the mail too.

Best Regards,
Huang Ying ----------------------------------------------------------> Integrate MCE test suite into LTP

Quoted 6 lines

mce-test is a collection of tools and test scripts for testing the Linux kernel x86 MCE (Machine Check Exception) processing features. This patch integrate that into LTP.

Thanks Huang and Andi. This has now been integrated to LTP. We will keep testing them as new kernel releases are available. Please keep this test suite updated as you push respective patches in the kernel.

Regards--
Subrata

testcases/mce-test/cases/soft-inj/non-panic/cases.sh line 2

Quoted 12 lines

---
diff -urNp ltp.orig/testcases/mce-test/bin/.cvsignore ltp/testcases/mce-test/bin/.cvsignore

testcases/mce-test/bin/.cvsignore +1 -0
@@ -0,0 +1 @@
+*

diff -urNp ltp.orig/testcases/mce-test/cases/soft-inj/non-panic/cases.sh ltp/testcases/mce-test/cases/soft-inj/non-panic/cases.sh

testcases/mce-test/cases/soft-inj/non-panic/cases.sh +2 -0
@@ -0,0 +1,55 @@
+#!/bin/sh
+#

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#10 lore raw
Quoted 6 lines

Thanks Huang and Andi. This has now been integrated to LTP. We will keep
testing them as new kernel releases are available. Please keep this test
suite updated as you push respective patches in the kernel.

Thanks for merging.

FYI -- there's already one change. The value of the MADV_POISON injection interface has changed in linux-next (12->100). That's fixed in the git tree now.

-Andi

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#11 lore raw
Quoted 11 lines · Andi
Quoted 5 lines

Thanks Huang and Andi. This has now been integrated to LTP. We will keep
testing them as new kernel releases are available. Please keep this test
suite updated as you push respective patches in the kernel.

Thanks for merging.

FYI -- there's already one change. The value of the MADV_POISON injection interface has changed in linux-next (12->100). That's fixed in the git tree now.

Thanks Andi. And i changed them already here:

ltp/testcases/mce-test/tsrc/tinjpage-working.c
ltp/testcases/mce-test/tsrc/tinjpage.c

Regards--
Subrata

Quoted 3 lines

-Andi

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#12 lore raw
In reply to Huang Ying
Quoted 50 lines · Huang Ying
Quoted 49 lines · Subrata Modak
Quoted 31 lines · Huang Ying
Quoted 30 lines · Subrata Modak

Hi Huang Ying,

Quoted 16 lines · Subrata Modak

Hi Huang Ying,

Quoted 14 lines · Huang Ying

Hi, All,

We are working on a test suite to test the Linux kernel MCE handling logic named mce-test, which can be find at:
git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git. There is a HOWTO for it, which is attached with the mail.

We think the testing target of mce-test is part of that of LTP, so it is better to integrate mce-test into LTP. Do you think so?

As for integration scheme, maybe we can first add mce-test into LTP as a separate test case, just as kdump test case. What's your opinions?

Quoted 8 lines
Quoted 2 lines

Any comment is welcome!

Sorry for the very late response to your proposal. Please find below the first patch which will integrate the existing mce-test to LTP. I had just done a sanity checking of building it. The following patch will still need:

1) Exclusive testing and sharing those results with the LTP community,

My initial first tests results are:

Quoted 9 lines
Quoted 3 lines
# uname -a
Linux x206f 2.6.29-gcov #1 SMP Fri Jun 19 12:14:27 IST 2009 i686 i686
i386 GNU/Linux

mce-test needs at least Linux kernel 2.6.31-rc? and some additional injection related patches from:
http://ftp.kernel.org/pub/linux/kernel/people/yhuang/mce/. We are working on pushing these additional patches into 2.6.32.

Can you please then provide this information inside mce-test/README, so that users are exactly aware of:

1. Which kernel to pick up,
2. Which additional patches to apply,
3. Which config options to set,

Quoted 5 lines
Quoted 1 line

before building and running these tests.

I have add these information into the HOWTO in mce-test/doc/howto.txt. In README, there is a "pointer" to howto.txt in section test instruction. Is it OK for you?

Yes, this should be fine.

Quoted 5 lines
Quoted 3 lines

Once mainline stable releases are through, you can then again update mce-test/README with similar information.

OK. I will update the document after upstream merging.

Great.

Quoted 9 lines
Quoted 8 lines

I would like people to start doing some testing with your present mce-test as well. As suggested by Andi, please drop in:

1. a minimal patch which adds the tests(you want) to LTP,
2. update mce-test/README in the same patch with all the above info,
3. attach test results against the patches you have dropped to ltp,

Quoted 4 lines

OK. I will do this.

I will check the coding style with checkpatch.pl. Do you have other comments about the code?

Nothing as of now. Will wait for your first minimal patch in LTP.

Regards--
Subrata

Quoted 5 lines

Best Regards,
Huang Ying

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#13 lore raw
In reply to Subrata Modak

Hi, Andi,

Quoted 4 lines · Subrata Modak

I would like people to start doing some testing with your present mce-test as well. As suggested by Andi, please drop in:

1. a minimal patch which adds the tests(you want) to LTP,

I think we can add all current test cases in git tree into LTP, is it?

Best Regards,
Huang Ying

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#14 lore raw
Quoted 8 lines · Subrata Modak
Quoted 4 lines

I would like people to start doing some testing with your present mce-test as well. As suggested by Andi, please drop in:

1. a minimal patch which adds the tests(you want) to LTP,

I think we can add all current test cases in git tree into LTP, is it?

Yes I see no reason to not do a full drop.

-Andi

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#15 lore raw
In reply to Subrata Modak
Quoted 16 lines · Subrata Modak

Hi Huang Ying,

Quoted 14 lines · Huang Ying

Hi, All,

We are working on a test suite to test the Linux kernel MCE handling logic named mce-test, which can be find at:
git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git. There is a HOWTO for it, which is attached with the mail.

We think the testing target of mce-test is part of that of LTP, so it is better to integrate mce-test into LTP. Do you think so?

As for integration scheme, maybe we can first add mce-test into LTP as a separate test case, just as kdump test case. What's your opinions?

Quoted 8 lines
Quoted 2 lines

Any comment is welcome!

Sorry for the very late response to your proposal. Please find below the first patch which will integrate the existing mce-test to LTP. I had just done a sanity checking of building it. The following patch will still need:

1) Exclusive testing and sharing those results with the LTP community,

We do test with mce-test regularly. Do you need our results?

Quoted 1 line

2) Comments for and rewriting of this patch for coding styles,

Where can I find the coding style guide for LTP? Are there "indent" command line for LTP coding style? So we can do some coding style conversion work automatically.

Quoted 1 line

3) Sign off from Huang Ying <[email protected]>, or, the concerned Authors,

You can add that to the patch.

Best Regards,
Huang Ying

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

A message that is not in the archive (sent off-list or not yet received): 2E9E6F5F5978EF44A8590E339E888CF901424CFEA1@irsmsx503.ger.corp.intel.com

#17 lore raw
Quoted 7 lines · Andi
Quoted 5 lines
Quoted 1 line

3) Sign off from Huang Ying <[email protected]>, or, the

concerned Authors,

You can add that to the patch.

And Signed-off-by: Andi Kleen <[email protected]>

Thank you too.

Quoted 7 lines

(wrote also some early code)

One thing I should add. There's still development going on for enhancing mce-test (e.g. adding stress tests and increasing coverage). Right now I would expect the kernel.org git repository to be still the primary repository where development is done, with occasional code drops into LTP. I hope that's ok for you.

Sure. It should be absolutely fine. Wheneven you want to add/update, just drop in a patch with the set of new results the patch would have generated.

Quoted 3 lines

It would be good if you could feed any patches on the LTP side for mce-test through Ying also.

As always welcome. Anybody can send patches anytime ;-)

Regards--
Subrata

Quoted 4 lines

Thanks,

-Andi

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#18 lore raw
In reply to Huang Ying
Quoted 20 lines · Huang Ying
Quoted 19 lines · Subrata Modak

Hi Huang Ying,

Quoted 16 lines · Huang Ying

Hi, All,

We are working on a test suite to test the Linux kernel MCE handling logic named mce-test, which can be find at:
git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git. There is a HOWTO for it, which is attached with the mail.

We think the testing target of mce-test is part of that of LTP, so it is better to integrate mce-test into LTP. Do you think so?

As for integration scheme, maybe we can first add mce-test into LTP as a separate test case, just as kdump test case. What's your opinions?

Any comment is welcome!

Quoted 7 lines
Quoted 5 lines

Sorry for the very late response to your proposal. Please find below the first patch which will integrate the existing mce-test to LTP. I had just done a sanity checking of building it. The following patch will still need:

1) Exclusive testing and sharing those results with the LTP community,

We do test with mce-test regularly. Do you need our results?

You are correct. Can you also post all exclusive and elaborate results of the tests ?

Quoted 6 lines
Quoted 2 lines

2) Comments for and rewriting of this patch for coding styles,

Where can I find the coding style guide for LTP? Are there "indent" command line for LTP coding style? So we can do some coding style conversion work automatically.

No. we started to follow the Linux Kernel coding style as rectified everytime by scripts/checkpatch.pl.

Quoted 4 lines
Quoted 2 lines

3) Sign off from Huang Ying <[email protected]>, or, the concerned Authors,

Thanks. We would need that in future too.

Regards--
Subrata

Quoted 6 lines

You can add that to the patch.

Best Regards,
Huang Ying

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list