From: Javier González Date: Tue, 31 Jan 2017 12:17:18 +0000 (+0100) Subject: lightnvm: Add CRC read error X-Git-Tag: Ubuntu-5.13.0-19.19~14042^2~1^2~23 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=38ea2f7656f815e7330868cbec7bada0fd7933a8;p=mirror_ubuntu-jammy-kernel.git lightnvm: Add CRC read error Let the host differentiate between a read error and a CRC check error on the device side. Signed-off-by: Javier González Signed-off-by: Matias Bjørling Signed-off-by: Jens Axboe --- diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h index 17cd454f0d87..bc282d26017a 100644 --- 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 */