lkml.org 
[lkml]   [2019]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] nvme: Add quirk for "SAMSUNG MZALQ128HBHQ-000L2"
Date
From: wuxy <wuxy@bitland.corp-partner.google.com>

Samsung SSD with model number:SAMSUNG MZALQ128HBHQ-000L2 has no response
when doing the "suspend/resume" test.This patch applied
NVME_QUIRK_SIMPLE_SUSPEND to fix this issue.Run the 2500 cycles
"suspend/resume" test after applying this patch and the issue can not
be reproduced again.Co-work with Samsung,they will fix this issue
in future firmware.

BUG= https://partnerissuetracker.corp.google.com/issues/144257635
TEST= run 2500 cycles "suspend/resume" test,the result is passed.

Signed-off-by: Xingyu Wu <wuxy@bitland.corp-partner.google.com>
---
drivers/nvme/host/core.c | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 667f18f465be..d16d12abec50 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -2414,6 +2414,16 @@ static const struct nvme_core_quirk_entry core_quirks[] = {
.vid = 0x14a4,
.fr = "22301111",
.quirks = NVME_QUIRK_SIMPLE_SUSPEND,
+ },
+ {
+ /*
+ * This Samsung SSD encountered no repsonse issue when
+ * running suspend to idle test.
+ * Samsung will fix this issue in future firmware.
+ */
+ .vid = 0x144d,
+ .mn = "SAMSUNG MZALQ128HBHQ-000L2",
+ .quirks = NVME_QUIRK_SIMPLE_SUSPEND,
}
};

--
2.17.1


\
 
 \ /
  Last update: 2019-12-17 09:36    [W:0.028 / U:7.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site