On 07/01/2013 08:53 AM, Tomasz Nowicki wrote:
W dniu 19.06.2013 23:47, Al Stone pisze:
On 06/19/2013 05:38 AM, Tomasz Nowicki wrote:
We are able to inject GHES from userspace. Kernel can parse error status block and print error message in a more descriptive way:
[...] [ 0.744715] GHES: APEI firmware first mode is enabled by APEI bit. [ 0.744749] EINJ: Error INJection is initialized. [...]
# echo 0x20 > /sys/kernel/debug/apei/einj/error_inject [ 149.010380] {1}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 2 [ 149.017080] {1}[Hardware Error]: APEI generic hardware error status [ 149.023217] {1}[Hardware Error]: severity: 1, fatal [ 149.027998] {1}[Hardware Error]: section: 0, severity: 0, recoverable [ 149.034317] {1}[Hardware Error]: flags: 0x00 [ 149.038501] {1}[Hardware Error]: section_type: memory error
where 0x20 can be random error ID because of the hack. Please see following patches for more explanation.
Nice patch set. Are there documents or pointers to documentation on the Linaro wiki describing how to use EINJ? If not, it would be nice to add something that can be pointed to as part of the demo at LCE.
Hi Al,
I create wiki page how to use EINJ and how it is built: https://wiki.linaro.org/LEG/Engineering/Kernel/ACPI/EINJ
Also, I put link to EINJ as reference on: https://wiki.linaro.org/LEG/Engineering/Kernel/ACPI/RASandACPI
Please take a look, and comments are welcomed.
Regards, Tomasz
Very nice; I found one minor, minor typo but that was it. Thanks for writing this up!