Commit 1e4cb22b authored by Per Forlin's avatar Per Forlin Committed by Chris Ball

fault-inject: add documentation on MMC IO fault injection

Add description on how to enable random fault injection
for MMC IO.
Signed-off-by: default avatarPer Forlin <per.forlin@linaro.org>
Acked-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 1b676f70
...@@ -21,6 +21,11 @@ o fail_make_request ...@@ -21,6 +21,11 @@ o fail_make_request
/sys/block/<device>/make-it-fail or /sys/block/<device>/make-it-fail or
/sys/block/<device>/<partition>/make-it-fail. (generic_make_request()) /sys/block/<device>/<partition>/make-it-fail. (generic_make_request())
o fail_mmc_request
injects MMC data errors on devices permitted by setting
debugfs entries under /sys/kernel/debug/mmc0/fail_mmc_request
Configure fault-injection capabilities behavior Configure fault-injection capabilities behavior
----------------------------------------------- -----------------------------------------------
...@@ -115,7 +120,8 @@ use the boot option: ...@@ -115,7 +120,8 @@ use the boot option:
failslab= failslab=
fail_page_alloc= fail_page_alloc=
fail_make_request=<interval>,<probability>,<space>,<times> fail_make_request=
fail_mmc_request=<interval>,<probability>,<space>,<times>
How to add new fault injection capability How to add new fault injection capability
----------------------------------------- -----------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment