Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1567348 > unrolled thread

[PATCH 3/3] lightnvm: Add CRC read error

Started by"Javier González" <jg@lightnvm.io>
First post2017-01-26 12:50 +0100
Last post2017-01-30 11:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3/3] lightnvm: Add CRC read error "Javier González" <jg@lightnvm.io> - 2017-01-26 12:50 +0100
    Re: [PATCH 3/3] lightnvm: Add CRC read error Matias Bjørling <mb@lightnvm.io> - 2017-01-30 11:20 +0100

#1567348 — [PATCH 3/3] lightnvm: Add CRC read error

From"Javier González" <jg@lightnvm.io>
Date2017-01-26 12:50 +0100
Subject[PATCH 3/3] lightnvm: Add CRC read error
Message-ID<t3QIV-6NB-1@gated-at.bofh.it>
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>
---
 include/linux/lightnvm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h
index 11c318e..51cda67 100644
--- a/include/linux/lightnvm.h
+++ b/include/linux/lightnvm.h
@@ -108,6 +108,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 */
-- 
2.7.4

[toc] | [next] | [standalone]


#1569547

FromMatias Bjørling <mb@lightnvm.io>
Date2017-01-30 11:20 +0100
Message-ID<t5he2-2Kr-33@gated-at.bofh.it>
In reply to#1567348
On 01/26/2017 12:47 PM, Javier González wrote:
> 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>
> ---
>  include/linux/lightnvm.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h
> index 11c318e..51cda67 100644
> --- a/include/linux/lightnvm.h
> +++ b/include/linux/lightnvm.h
> @@ -108,6 +108,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 */
> 

Thanks. Applied.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web