Permalink
Browse files

make mce-test a submodule

cloning mce-test from

    git://github.com/andikleen/mce-test.git

and use it as a submodule of git.

Signed-off-by: Caspar Zhang <caspar@casparzhang.com>
  • Loading branch information...
casparant committed Mar 8, 2012
1 parent 61037e1 commit 5cca17f6333e572c912b0701ab0e4f2f89f745cd
Showing with 5 additions and 11,430 deletions.
  1. +3 −0 .gitmodules
  2. +1 −34 README
  3. +1 −0 testcases/kernel/mce-test
  4. +0 −340 testcases/kernel/mce-test/COPYING
  5. +0 −41 testcases/kernel/mce-test/Makefile
  6. +0 −111 testcases/kernel/mce-test/README
  7. +0 −33 testcases/kernel/mce-test/cases/apei-inj/README
  8. +0 −63 testcases/kernel/mce-test/cases/apei-inj/ucr/cases.sh
  9. +0 −1 testcases/kernel/mce-test/cases/apei-inj/ucr/data/mem_uncorrected
  10. +0 −10 testcases/kernel/mce-test/cases/apei-inj/ucr/refer/mem_uncorrected
  11. +0 −55 testcases/kernel/mce-test/cases/soft-inj/non-panic/cases.sh
  12. +0 −14 testcases/kernel/mce-test/cases/soft-inj/non-panic/data/corrected
  13. +0 −10 testcases/kernel/mce-test/cases/soft-inj/non-panic/data/corrected_hold
  14. +0 −5 testcases/kernel/mce-test/cases/soft-inj/non-panic/data/corrected_no_en
  15. +0 −4 testcases/kernel/mce-test/cases/soft-inj/non-panic/data/corrected_over
  16. +0 −89 testcases/kernel/mce-test/cases/soft-inj/panic/cases.sh
  17. +0 −8 testcases/kernel/mce-test/cases/soft-inj/panic/data/fatal
  18. +0 −7 testcases/kernel/mce-test/cases/soft-inj/panic/data/fatal_eipv
  19. +0 −9 testcases/kernel/mce-test/cases/soft-inj/panic/data/fatal_irq
  20. +0 −8 testcases/kernel/mce-test/cases/soft-inj/panic/data/fatal_no_en
  21. +0 −9 testcases/kernel/mce-test/cases/soft-inj/panic/data/fatal_over
  22. +0 −7 testcases/kernel/mce-test/cases/soft-inj/panic/data/fatal_ripv
  23. +0 −9 testcases/kernel/mce-test/cases/soft-inj/panic/data/fatal_timeout
  24. +0 −9 testcases/kernel/mce-test/cases/soft-inj/panic/data/fatal_timeout_ripv
  25. +0 −7 testcases/kernel/mce-test/cases/soft-inj/panic/data/fatal_userspace
  26. +0 −1 testcases/kernel/mce-test/cases/soft-inj/panic/refer/fatal_no_en
  27. +0 −61 testcases/kernel/mce-test/cases/soft-inj/panic_noser/cases.sh
  28. +0 −6 testcases/kernel/mce-test/cases/soft-inj/panic_noser/data/uc_over
  29. +0 −13 testcases/kernel/mce-test/cases/soft-inj/panic_noser/data/uc_over_corrected
  30. +0 −6 testcases/kernel/mce-test/cases/soft-inj/panic_noser/data/uc_over_timeout
  31. +0 −108 testcases/kernel/mce-test/cases/soft-inj/panic_npcc/cases.sh
  32. +0 −16 testcases/kernel/mce-test/cases/soft-inj/panic_npcc/data/fatal_severity
  33. +0 −5 testcases/kernel/mce-test/cases/soft-inj/panic_npcc/data/uc_no_eripv
  34. +0 −6 testcases/kernel/mce-test/cases/soft-inj/panic_npcc/data/uc_no_eripv_timeout
  35. +0 −4 testcases/kernel/mce-test/cases/soft-inj/panic_npcc/data/uc_no_mcip
  36. +0 −5 testcases/kernel/mce-test/cases/soft-inj/panic_npcc/data/uc_no_mcip_timeout
  37. +0 −7 testcases/kernel/mce-test/cases/soft-inj/panic_npcc/data/uncorrected
  38. +0 −8 testcases/kernel/mce-test/cases/soft-inj/panic_npcc/data/uncorrected_timeout
  39. +0 −3 testcases/kernel/mce-test/cases/soft-inj/panic_npcc/data/unknown
  40. +0 −78 testcases/kernel/mce-test/cases/soft-inj/panic_ucr/cases.sh
  41. +0 −5 testcases/kernel/mce-test/cases/soft-inj/panic_ucr/data/s0_ar1
  42. +0 −5 testcases/kernel/mce-test/cases/soft-inj/panic_ucr/data/srao_ewb_noripv
  43. +0 −5 testcases/kernel/mce-test/cases/soft-inj/panic_ucr/data/srao_mem_scrub_noripv
  44. +0 −6 testcases/kernel/mce-test/cases/soft-inj/panic_ucr/data/srar_no_en
  45. +0 −5 testcases/kernel/mce-test/cases/soft-inj/panic_ucr/data/srar_over
  46. +0 −5 testcases/kernel/mce-test/cases/soft-inj/panic_ucr/data/srar_unkown
  47. +0 −1 testcases/kernel/mce-test/cases/soft-inj/panic_ucr/refer/srar_no_en
  48. +0 −49 testcases/kernel/mce-test/cases/soft-inj/poll_noser/cases.sh
  49. +0 −6 testcases/kernel/mce-test/cases/soft-inj/poll_noser/data/uc_poll
  50. +0 −1 testcases/kernel/mce-test/cases/soft-inj/poll_noser/refer/uc_poll
  51. +0 −54 testcases/kernel/mce-test/cases/soft-inj/poll_ucr/cases.sh
  52. +0 −6 testcases/kernel/mce-test/cases/soft-inj/poll_ucr/data/fatal_poll
  53. +0 −9 testcases/kernel/mce-test/cases/soft-inj/poll_ucr/data/srar_poll
  54. +0 −7 testcases/kernel/mce-test/cases/soft-inj/poll_ucr/data/ucna
  55. +0 −6 testcases/kernel/mce-test/cases/soft-inj/poll_ucr/data/ucna_over
  56. +0 −1 testcases/kernel/mce-test/cases/soft-inj/poll_ucr/refer/srar_poll
  57. +0 −50 testcases/kernel/mce-test/cases/soft-inj/recoverable_ucr/cases.sh
  58. +0 −11 testcases/kernel/mce-test/cases/soft-inj/recoverable_ucr/data/srao_corrected
  59. +0 −6 testcases/kernel/mce-test/cases/soft-inj/recoverable_ucr/data/srao_ewb
  60. +0 −6 testcases/kernel/mce-test/cases/soft-inj/recoverable_ucr/data/srao_mem_scrub
  61. +0 −5 testcases/kernel/mce-test/cases/soft-inj/recoverable_ucr/data/srao_no_en
  62. +0 −5 testcases/kernel/mce-test/cases/soft-inj/recoverable_ucr/data/srao_over
  63. +0 −11 testcases/kernel/mce-test/cases/soft-inj/recoverable_ucr/data/srao_ucna
  64. +0 −5 testcases/kernel/mce-test/cases/soft-inj/recoverable_ucr/data/srao_unknown
  65. +0 −5 testcases/kernel/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_corrected
  66. +0 −1 testcases/kernel/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_no_en
  67. +0 −6 testcases/kernel/mce-test/cases/soft-inj/recoverable_ucr/refer/srao_ucna
  68. +0 −6 testcases/kernel/mce-test/config/kdump.conf
  69. +0 −6 testcases/kernel/mce-test/config/kdump_noser.conf
  70. +0 −6 testcases/kernel/mce-test/config/kdump_panic.conf
  71. +0 −6 testcases/kernel/mce-test/config/kdump_panic_noser.conf
  72. +0 −6 testcases/kernel/mce-test/config/kdump_panic_npcc.conf
  73. +0 −6 testcases/kernel/mce-test/config/kdump_panic_ucr.conf
  74. +0 −6 testcases/kernel/mce-test/config/kdump_ser.conf
  75. +0 −4 testcases/kernel/mce-test/config/simple.conf
  76. +0 −4 testcases/kernel/mce-test/config/simple_non_panic.conf
  77. +0 −4 testcases/kernel/mce-test/config/simple_nopanic_noser.conf
  78. +0 −4 testcases/kernel/mce-test/config/simple_nopanic_ser.conf
  79. +0 −4 testcases/kernel/mce-test/config/simple_noser.conf
  80. +0 −4 testcases/kernel/mce-test/config/simple_panic.conf
  81. +0 −4 testcases/kernel/mce-test/config/simple_panic_noser.conf
  82. +0 −4 testcases/kernel/mce-test/config/simple_panic_npcc.conf
  83. +0 −4 testcases/kernel/mce-test/config/simple_panic_ucr.conf
  84. +0 −4 testcases/kernel/mce-test/config/simple_poll_noser.conf
  85. +0 −4 testcases/kernel/mce-test/config/simple_poll_ucr.conf
  86. +0 −4 testcases/kernel/mce-test/config/simple_recoverable_ucr.conf
  87. +0 −4 testcases/kernel/mce-test/config/simple_ser.conf
  88. +0 −66 testcases/kernel/mce-test/doc/cases/soft-inj_non-panic.txt
  89. +0 −173 testcases/kernel/mce-test/doc/cases/soft-inj_panic.txt
  90. +0 −83 testcases/kernel/mce-test/doc/cases/soft-inj_panic_noser.txt
  91. +0 −145 testcases/kernel/mce-test/doc/cases/soft-inj_panic_npcc.txt
  92. +0 −135 testcases/kernel/mce-test/doc/cases/soft-inj_panic_ucr.txt
  93. +0 −44 testcases/kernel/mce-test/doc/cases/soft-inj_poll_ucr.txt
  94. +0 −138 testcases/kernel/mce-test/doc/cases/soft-inj_recoverable_ucr.txt
  95. +0 −516 testcases/kernel/mce-test/doc/howto.txt
  96. +0 −340 testcases/kernel/mce-test/doc/stress-howto.txt
  97. +0 −33 testcases/kernel/mce-test/doc/verify.txt
  98. +0 −299 testcases/kernel/mce-test/drivers/kdump/driver.sh
  99. +0 −105 testcases/kernel/mce-test/drivers/kdump/setup.sh
  100. +0 −132 testcases/kernel/mce-test/drivers/simple/driver.sh
  101. +0 −62 testcases/kernel/mce-test/kvm/README
  102. +0 −36 testcases/kernel/mce-test/kvm/guest/guest_run.sh
  103. +0 −4 testcases/kernel/mce-test/kvm/host/SRAO
  104. +0 −37 testcases/kernel/mce-test/kvm/host/guest_init
  105. +0 −282 testcases/kernel/mce-test/kvm/host/host_run.sh
  106. +0 −180 testcases/kernel/mce-test/lib/apei-inject.sh
  107. +0 −22 testcases/kernel/mce-test/lib/dirs.sh
  108. +0 −90 testcases/kernel/mce-test/lib/functions.sh
  109. +0 −328 testcases/kernel/mce-test/lib/mce.sh
  110. +0 −146 testcases/kernel/mce-test/lib/soft-inject.sh
  111. +0 −25 testcases/kernel/mce-test/stress/Makefile
  112. +0 −75 testcases/kernel/mce-test/stress/README
  113. +0 −1,061 testcases/kernel/mce-test/stress/hwpoison.sh
  114. +0 −16 testcases/kernel/mce-test/stress/tools/Makefile
  115. +0 −11 testcases/kernel/mce-test/stress/tools/fs-metadata/Makefile
  116. +0 −25 testcases/kernel/mce-test/stress/tools/fs-metadata/README
  117. +0 −266 testcases/kernel/mce-test/stress/tools/fs-metadata/fs-metadata.sh
  118. +0 −105 testcases/kernel/mce-test/stress/tools/fs-metadata/k-thread.sh
  119. +0 −96 testcases/kernel/mce-test/stress/tools/fs-metadata/k-tree-gen.c
  120. +0 −88 testcases/kernel/mce-test/stress/tools/fs-metadata/k-tree-trav.c
  121. +0 −11 testcases/kernel/mce-test/stress/tools/page-poisoning/Makefile
  122. +0 −15 testcases/kernel/mce-test/stress/tools/page-poisoning/README
  123. +0 −894 testcases/kernel/mce-test/stress/tools/page-poisoning/page-poisoning.c
  124. +0 −7 testcases/kernel/mce-test/tools/Makefile
  125. +0 −76 testcases/kernel/mce-test/tools/gcov_merge.py
  126. +0 −12 testcases/kernel/mce-test/tools/grep_result.sh
  127. +0 −45 testcases/kernel/mce-test/tools/loop-mce-test.sh
  128. +0 −50 testcases/kernel/mce-test/tools/mce_shell.sh
  129. +0 −68 testcases/kernel/mce-test/tools/scov_merge.py
  130. +0 −13 testcases/kernel/mce-test/tools/simple_process/Makefile
  131. +0 −15 testcases/kernel/mce-test/tools/simple_process/simple_process.c
  132. +0 −72 testcases/kernel/mce-test/tsrc/Makefile
  133. +0 −59 testcases/kernel/mce-test/tsrc/README
  134. +0 −181 testcases/kernel/mce-test/tsrc/hugepage.h
  135. +0 −3 testcases/kernel/mce-test/tsrc/kinclude/README
  136. +0 −15 testcases/kernel/mce-test/tsrc/kinclude/linux/debugfs.h
  137. +0 −10 testcases/kernel/mce-test/tsrc/kinclude/linux/fs.h
  138. +0 −5 testcases/kernel/mce-test/tsrc/kinclude/linux/init.h
  139. +0 −9 testcases/kernel/mce-test/tsrc/kinclude/linux/percpu.h
  140. +0 −22 testcases/kernel/mce-test/tsrc/kinclude/linux/seq_file.h
  141. +0 −2 testcases/kernel/mce-test/tsrc/kinclude/linux/sysdev.h
  142. +0 −156 testcases/kernel/mce-test/tsrc/random_offline
  143. +0 −168 testcases/kernel/mce-test/tsrc/run-huge-test.sh
  144. +0 −100 testcases/kernel/mce-test/tsrc/tcases.c
  145. +0 −321 testcases/kernel/mce-test/tsrc/thugetlb.c
  146. +0 −969 testcases/kernel/mce-test/tsrc/tinjpage.c
  147. +0 −21 testcases/kernel/mce-test/tsrc/tkillpoison.c
  148. +0 −96 testcases/kernel/mce-test/tsrc/tprctl.c
  149. +0 −87 testcases/kernel/mce-test/tsrc/tring.c
  150. +0 −163 testcases/kernel/mce-test/tsrc/tsimpleinj.c
  151. +0 −29 testcases/kernel/mce-test/tsrc/tsoft.c
  152. +0 −199 testcases/kernel/mce-test/tsrc/tsoftinj.c
  153. +0 −259 testcases/kernel/mce-test/tsrc/ttable.c
  154. +0 −1 testcases/kernel/mce-test/tsrc/utils.h
  155. +0 −527 testcases/mce-test/tsrc/tinjpage.c
View
@@ -0,0 +1,3 @@
+[submodule "testcases/kernel/mce-test"]
+ path = testcases/kernel/mce-test
+ url = git://github.com/andikleen/mce-test.git
View
35 README
@@ -1,36 +1,3 @@
-MCE APEI INJ testing cases
-=========================
-
-Nov 6th, 2009
-
-Jiajia Zheng
-
-Start
-------------
-This test suite is based on apei-inj APEI haredware injection tool.
-It's structure and usage are the same with soft-inj test suite.
-To be root and invoke simple test driver on test configuration file as follow
- drivers/simple/driver.sh config/simple_apei_ucr.conf
-
-Test Dependencies
------------------
-MCE APEI INJ test suite has following dependencies on kernel and other tools:
-
-* Make sure following configuration options are enabled in linux kernel:
- CONFIG_FTRACE=y
- CONFIG_FUNCTION_TRACER=y
-
-* page-types:
- A tool to query page types, which is accompanied with Linux kernel
- source (2.6.32 or newer, $KERNEL_SRC/Documentation/vm/page-types.c).
- For detail, please see 3.4 in doc/howto.txt.
-
-* simple-process:
- APEI hardware injection will inject an error to a page used by this simple-process. Intall simple-process.
- cd mce-test/tools/simple_process
- make
-
-
Linux Test Project
(Maintained by: Shubham Goyal <shubham@linux.vnet.ibm.com>)
@@ -243,7 +210,7 @@ CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1
CONFIG_SECURITY_SELINUX_ENABLE_SECMARK_DEFAULT=y
CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX=y
-You don't want this one unless you are running Fedora 3 or 4.
+You don't want this one unless you are running Fedora 3 or 4.
On anything newer, it will cause unnecessary policy expansion.
CONFIG_SECURITY_SMACK=y
Submodule mce-test added at 95e136

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,41 +0,0 @@
-.PHONY: test clean distclean reset test-simple test-kdump
-
-all:
- $(MAKE) -C tools
- $(MAKE) -C tsrc
- $(MAKE) -C stress
-
-clean:
- $(MAKE) -C tools clean
- $(MAKE) -C tsrc clean
- $(MAKE) -C stress clean
- $(MAKE) reset
-
-distclean:
- $(MAKE) -C tools distclean
- $(MAKE) -C tsrc distclean
- $(MAKE) -C stress distclean
- $(MAKE) reset
- rm -rf bin/*
-
-reset:
- rm -rf work/*
- rm -rf results/*
-
-test: test-simple test-stress
-
-test-simple:
- $(MAKE) reset
- ./drivers/simple/driver.sh simple.conf
- $(MAKE) -C tsrc test
-
-# requires LTP & page-types to be installed
-test-stress:
- $(MAKE) -C stress test
-
-# requires special packages to be installed
-test-kdump:
- $(MAKE) reset
- ./drivers/simple/driver.sh simple.conf
- ./drivers/kdump/driver.sh kdump.conf
- $(MAKE) -C tsrc test
@@ -1,111 +0,0 @@
-MCE test suite
----------------
-
-The MCE test suite is a collection of tools and test scripts for
-testing the Linux kernel MCE processing features. The goal is to cover
-most Linux kernel MCE processing code paths and features with
-automation tests.
-
-
-In the Package
---------------
-
-Here is a short description of what is included in the package
-
-README
- This document
-
-COPYING
- GNU General Public License
-
-Makefile
- Top level make file for MCE test suite
-
-drivers/*
- Contains test drivers, which drive test procedure and do some
- common works for test drivers. There is one directory for each
- test driver, the user interface of a driver is the driver.sh
- in corresponding directory, such as:
- drivers/kdump/driver.sh
- is user interface of kdump test driver.
-
-cases/*
- Contains all test cases, which may be organized in
- sub-directories, the interface of a class of test cases is a
- shell script under cases/, such as:
- -- cases/soft-inj/panic/cases.sh
- is for test cases triggered by soft-inject and may cause system
- panic during testing.
- -- cases/apei-inj/ucr/cases.sh
- is for test cases triggered by apei-inject.
-
-config/*
- Contains test configuration files, which specifies the
- parameters for test driver, which test cases are used in test,
- the parameters for test cases, etc.
-
-tsrc/*
- Some standalone test programs for various parts of the machine
- check code.
-
-lib/*
- Contains some shell scripts, in which some common shell
- functions and variable definitions are defined to be used by
- multiple test drivers or test cases.
-
-tools/*
- Some tools used by MCE test suites.
-
-doc/*
- Documentation for MCE test suites include howto and
- descriptions of every test case.
-
-results/
- When test is done, the test result will be placed in this
- directory, test results for a specific test driver will be
- placed in corresponding directory, such as test results of
- kdump test driver will be placed in "results/kdump". General
- test result is in results/$driver/result; additional results
- of various cases may be in corresponding directory, for
- example, files in
- results/kdump/soft-inj/panic/fatal/
- is for additional result for test case soft-inj/panic/fatal.
-
-work/
- During test, some temporary file will be put in work
- directory, temporary files for a specific test driver will be
- placed in corresponding directory, such as temporary files of
- kdump test driver will be placed in "work/kdump". Test log is
- in work/$driver/log.
-
-bin/
- Some tools used by test drivers or test cases will be
- installed into this directory.
-
-stress/
- Linux MCE stress test suite.
-
-Test Instruction
-----------------
-
-Please refer to corresponding section in doc/howto.txt.
-
-Very quick way to test this:
- be root
- make sure you have a kernel with CONFIG_X86_MCE_INJECT
- and CONFIG_HWPOISON_INJECT and soft-offlining support
- run "make test"
-
-Futher Information
-------------------
-
-For futher information about MCE test suite, please refer to documents
-in doc sub-directory.
-
-doc/howto.txt: a more detailed HOWTO document
-
-doc/stress-howto.txt: Detailed HOWTO document for MCE stress test suite
-
-doc/cases/*.txt: Description of every test case, including test
- objective, code patch tested, reference and
- expected results
@@ -1,33 +0,0 @@
-MCE APEI INJ testing cases
-=========================
-
-Nov 6th, 2009
-
-Jiajia Zheng
-
-Start
-------------
-This test suite is based on apei-inj APEI haredware injection tool.
-It's structure and usage are the same with soft-inj test suite.
-To be root and invoke simple test driver on test configuration file as follow
- drivers/simple/driver.sh config/simple_apei_ucr.conf
-
-Test Dependencies
------------------
-MCE APEI INJ test suite has following dependencies on kernel and other tools:
-
-* Make sure following configuration options are enabled in linux kernel:
- CONFIG_FTRACE=y
- CONFIG_FUNCTION_TRACER=y
-
-* page-types:
- A tool to query page types, which is accompanied with Linux kernel
- source (2.6.32 or newer, $KERNEL_SRC/Documentation/vm/page-types.c).
- For detail, please see 3.4 in doc/howto.txt.
-
-* simple-process:
- APEI hardware injection will inject an error to a page used by this simple-process. Intall simple-process.
- cd mce-test/tools/simple_process
- make
-
-
@@ -1,63 +0,0 @@
-#!/bin/bash
-#
-# APEI injection based test cases : memory patrol scrub cases: test cases
-# are triggered via the apei-inject, and they will not trigger kernel panic.
-#
-# Copyright (C) 2008, Intel Corp.
-# Author: Huang Ying <ying.huang@intel.com>
-# Zheng Jiajia <jiajia.zheng@intel.com>
-#
-# This file is released under the GPLv2.
-#
-
-. $ROOT/lib/functions.sh
-. $ROOT/lib/dirs.sh
-. $ROOT/lib/mce.sh
-. $ROOT/lib/apei-inject.sh
-
-enumerate()
-{
- apei_inject_enumerate
-}
-
-trigger()
-{
- case "$bcase" in
- mem_uncorrected)
- start_tracing "do_machine_check"
- ;;
- *)
- echo '!!! Unknown case: $this_case !!!'
- esac
- apei_inject_trigger
- stop_tracing
-}
-
-get_result()
-{
- apei_inject_get_klog
- get_gcov drivers/acpi/apei/einj.c
-
- case "$bcase" in
- mem_uncorrected)
- get_mcelog_from_dev $mcelog_result
- ;;
- *)
- echo '!!! Unknown case: $this_case !!!'
- esac
-}
-
-verify()
-{
- case "$bcase" in
- mem_uncorrected)
- apei_inject_verify_mcelog
- verify_klog $klog
- apei_inject_verify_trace "do_machine_check"
- ;;
- *)
- echo "!!! Unknown case: $this_case !!!"
- esac
-}
-
-apei_inject_main "$@"
@@ -1,10 +0,0 @@
-CPU 0 BANK 2
-STATUS UNCORRECTED SRAO 0xcf
-MCGSTATUS RIPV MCIP
-MISC 0x8c
-ADDR 0x1234
-RIP 0x73:0x2eadbabe
-
-
-
-
@@ -1,55 +0,0 @@
-#!/bin/bash
-#
-# 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 <ying.huang@intel.com>
-#
-# 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 "$@"
@@ -1,14 +0,0 @@
-#
-# 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
@@ -1,10 +0,0 @@
-#
-# log two corrected machine checks
-CPU 0 BANK 1
-STATUS CORRECTED
-ADDR 0xabcd
-HOLD
-#
-CPU 1 BANK 2
-STATUS CORRECTED
-ADDR 0x1234
Oops, something went wrong.

0 comments on commit 5cca17f

Please sign in to comment.