Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1525402
| From | "Javier González" <jg@lightnvm.io> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 04/20] lightnvm: add ECC error codes |
| Date | 2016-11-18 15:50 +0100 |
| Message-ID | <sESEh-8qT-7@gated-at.bofh.it> (permalink) |
| References | <sESEh-8qT-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Javier González <jg@lightnvm.io>
Add ECC error codes to enable the appropriate handling in the target.
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
---
include/linux/lightnvm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h
index 4480d1c..6b26a32 100644
--- a/include/linux/lightnvm.h
+++ b/include/linux/lightnvm.h
@@ -107,6 +107,8 @@ enum {
NVM_RSP_NOT_CHANGEABLE = 0x1,
NVM_RSP_ERR_FAILWRITE = 0x40ff,
NVM_RSP_ERR_EMPTYPAGE = 0x42ff,
+ NVM_RSP_ERR_FAILECC = 0x4281,
+ NVM_RSP_WARN_HIGHECC = 0x4700,
/* Device opcodes */
NVM_OP_HBREAD = 0x02,
--
2.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 04/20] lightnvm: add ECC error codes "Javier González" <jg@lightnvm.io> - 2016-11-18 15:50 +0100
csiph-web