zephyr/tests/subsys/edac/ibecc
Andrei Emeltchenko f4f2bb3548 edac: tests: Add testing error_trigger() for unset type
Add testing for edac_inject_error_trigger() for unset error type.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2021-10-14 12:11:09 -04:00
..
src edac: tests: Add testing error_trigger() for unset type 2021-10-14 12:11:09 -04:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
prj.conf
README.rst edac: ibecc: Add testing README 2021-03-24 05:43:17 -04:00
testcase.yaml tests: edac: Add test for user thread communication 2021-02-19 16:06:29 +02:00

.. _edac_ibecc_tests:

Testing Error Detection and Correction
######################################
Tests verify API and use error injection method to inject
errors.

Prerequisites
*************
IBECC should be enabled in BIOS. This is usually enabled in the default
BIOS configuration. Verify following:
Intel Advanced Menu -> Memory Configuration -> In-Band ECC ->  <Enabled>.
Verify also operational mode with:
Intel Advanced Menu -> Memory Configuration -> In-Band ECC Operation Mode -> 2

For injection test Error Injection should be enabled.

Error Injection
===============
IBECC includes a feature to ease the verification effort such as Error
Injection capability. This helps to test the error checking, logging and
reporting mechanism within IBECC.

In order to use Error Injection user need to use BIOS Boot Guard 0 profile.

Additionally Error Injection need to be enabled in the following BIOS menu:
Intel Advanced Menu -> Memory Configuration -> In-Band ECC Error -> <Enabled>.

Configurations
**************
Due to high security risk Error Injection capability should not be
enabled for production. Due to this reason test has production configuration
and debug configuration. The main difference is that debug configuration
includes Error Injection.