blob: da17edd62ad9d55c1d2fa84121e1cae42589843a [file] [log] [blame]
## ras-tools
ras-tools are an excellent set of tools to inject and test RAS ability on X86
and Arm platform through APEI EINJ interface.
## Brief Introduction
Common tools on both X86 and Arm platform:
- rep_ce_page: injects and consumes corrected errors from a single page
until either the page is taken offline (and replaced) by the OS, or
a limit of 30 tries is reached.
- mca-recover: an example recovery application shows how to setup a SIGBUS handler for recoverable machine checks.
- cmcistorm: inject a bunch of corrected errors, then trigger them all quickly.
- hornet: inject a UC memory error into some other process.
- einj_mem_uc: inject an error and then trigger it in one of a variety of ways.
Arm platform specific drivers:
- memattr: a test suit to poison specific memory attribute.
- ras-tolerance: a driver to overwrite error severity to a lower level at runtime.