diff options
| author | Yaniv Gardi <ygardi@codeaurora.org> | 2015-03-25 13:06:42 +0200 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 10:59:42 -0700 |
| commit | 1ff884ade9d2afe84d6abc8bb4c556a5573c71c8 (patch) | |
| tree | ac98efcf8417112a5fb8498cdbe83a90e7d86925 /include/linux/input-polldev.h | |
| parent | a34d2fc0f33dc939c719b6480649b081224bf3b6 (diff) | |
scsi: ufs: add debugfs options for fault injection capability
This change adds a few debugfs options for the UFS fault injection
framework.
"err_inj_scenario" entry - to enable/disable error scenarios.
"err_inj_codes" entry - to control specific error codes for a specific
error scenario.
usage:
echo 0x5 > /sys/kernel/debug/ufshcd0/err_inj_scenario
as 0x5 is b0101, it sets bits #0 and #2 of err_inj_scenario_mask.
echo "2, 0x7" > /sys/kernel/debug/ufshcd0/err_inj_codes
sets error codes b0111 for error scenario #2
Change-Id: I0c58886a1ffac4dc85d8827bf69d650082a03fc5
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
[subhashj@codeaurora.org: resolved trivial merge conflicts]
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux/input-polldev.h')
0 files changed, 0 insertions, 0 deletions
