From 8d5452fcbc003f9cb41e688267a81b9da67c4643 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Tue, 23 Mar 2021 19:41:37 +0200 Subject: [PATCH] edac: ibecc: Add testing README Add README listing BIOS options for error injection. Signed-off-by: Andrei Emeltchenko --- tests/subsys/edac/ibecc/README.rst | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tests/subsys/edac/ibecc/README.rst diff --git a/tests/subsys/edac/ibecc/README.rst b/tests/subsys/edac/ibecc/README.rst new file mode 100644 index 00000000000..a8d98729743 --- /dev/null +++ b/tests/subsys/edac/ibecc/README.rst @@ -0,0 +1,34 @@ +.. _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 -> . +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 -> . + +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.