android_kernel_oneplus_msm8998/include
Dov Levenglick b98e6c2fa1 mmc: core: Add MMC BKOPS statistics and debugfs ability to print them
The BKOPS statistics are used for BKOPS unit tests and APT tests
to determine test success or failure.
The BKOPS statstics provide the following information:
The number of times BKOPS were issued according to its severity level
The number of times manual BKOPS was started/stopped (HPI)
The number of times auto BKOPS was enabled/disabled

In order to enable and reset the statistics:
echo 1 > /sys/kernel/debug/mmc0/mmc0:0001/bkops_stats
In order to disable the statistics:
echo 0 > /sys/kernel/debug/mmc0/mmc0:0001/bkops_stats
In order to view the statistics:
cat /sys/kernel/debug/mmc0/mmc0:0001/bkops_stats

Change-Id: Ib84319aedfb49dc022bc27efbda842a5db38c7e9
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Dov Levenglick <dovl@codeaurora.org>
[subhashj@codeaurora.org: fixed trivial merge conflicts]
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-05-31 15:26:51 -07:00
..
acpi
asm-generic
clocksource
crypto crypto: ice: split the config callback 2016-04-25 17:45:49 -07:00
drm
dt-bindings ARM: dts: msm: Add snapshot of power-on.h 2016-05-18 13:40:47 -07:00
keys
kvm
linux mmc: core: Add MMC BKOPS statistics and debugfs ability to print them 2016-05-31 15:26:51 -07:00
math-emu
media
memory
misc
net
pcmcia
ras
rdma
rxrpc
scsi
soc memory-dump: add support to allocate memory for scan dumps 2016-05-16 20:10:44 -07:00
sound ASoC: msm: Add USB audio via ADSP support 2016-05-15 22:42:12 -07:00
target
trace mmc: sdhci-msm: Add tracepoints to enhance pm debugging 2016-05-31 15:26:17 -07:00
uapi include: mmc: Export sanitized mmc headers 2016-05-31 15:26:19 -07:00
video
xen
Kbuild