projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06894ef
)
lightnvm: Add CRC read error
author
Javier González
<jg@lightnvm.io>
Tue, 31 Jan 2017 12:17:18 +0000
(13:17 +0100)
committer
Jens Axboe
<axboe@fb.com>
Tue, 31 Jan 2017 15:32:13 +0000
(08:32 -0700)
Let the host differentiate between a read error and a CRC check error on
the device side.
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/lightnvm.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/lightnvm.h
b/include/linux/lightnvm.h
index 17cd454f0d87e6f0164de89411d1a5440cefa0c2..bc282d26017ade6e9ce137c1075e356ae1a0f2a4 100644
(file)
--- a/
include/linux/lightnvm.h
+++ b/
include/linux/lightnvm.h
@@
-107,6
+107,7
@@
enum {
NVM_RSP_ERR_FAILWRITE = 0x40ff,
NVM_RSP_ERR_EMPTYPAGE = 0x42ff,
NVM_RSP_ERR_FAILECC = 0x4281,
+ NVM_RSP_ERR_FAILCRC = 0x4004,
NVM_RSP_WARN_HIGHECC = 0x4700,
/* Device opcodes */