1f08c3bdfSopenharmony_ciMCE APEI INJ testing cases 
2f08c3bdfSopenharmony_ci=========================
3f08c3bdfSopenharmony_ci
4f08c3bdfSopenharmony_ciNov 6th, 2009
5f08c3bdfSopenharmony_ci
6f08c3bdfSopenharmony_ciJiajia Zheng
7f08c3bdfSopenharmony_ci
8f08c3bdfSopenharmony_ciStart
9f08c3bdfSopenharmony_ci------------
10f08c3bdfSopenharmony_ciThis test suite is based on apei-inj APEI haredware injection tool. 
11f08c3bdfSopenharmony_ciIt's structure and usage are the same with soft-inj test suite.
12f08c3bdfSopenharmony_ciTo be root and invoke simple test driver on test configuration file as follow
13f08c3bdfSopenharmony_ci	drivers/simple/driver.sh config/simple_apei_ucr.conf
14f08c3bdfSopenharmony_ci
15f08c3bdfSopenharmony_ciTest Dependencies
16f08c3bdfSopenharmony_ci-----------------
17f08c3bdfSopenharmony_ciMCE APEI INJ test suite has following dependencies on kernel and other tools:
18f08c3bdfSopenharmony_ci
19f08c3bdfSopenharmony_ci* Make sure following configuration options are enabled in linux kernel:
20f08c3bdfSopenharmony_ci	CONFIG_FTRACE=y
21f08c3bdfSopenharmony_ci	CONFIG_FUNCTION_TRACER=y
22f08c3bdfSopenharmony_ci
23f08c3bdfSopenharmony_ci* page-types:
24f08c3bdfSopenharmony_ci  A tool to query page types, which is accompanied with Linux kernel
25f08c3bdfSopenharmony_ci  source (2.6.32 or newer, $KERNEL_SRC/Documentation/vm/page-types.c).
26f08c3bdfSopenharmony_ci  For detail, please see 3.4 in doc/howto.txt.
27f08c3bdfSopenharmony_ci
28f08c3bdfSopenharmony_ci* simple-process:
29f08c3bdfSopenharmony_ci  APEI hardware injection will inject an error to a page used by this simple-process.  Intall simple-process.
30f08c3bdfSopenharmony_ci	cd mce-test/tools/simple_process
31f08c3bdfSopenharmony_ci	make
32f08c3bdfSopenharmony_ci
33f08c3bdfSopenharmony_ci
34