linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nvme: Add quirk for Samsung NVME SSD NM 'SAMSUNG MZALQ128HBHQ-000L2'
@ 2019-12-09 12:27 wuxy
  0 siblings, 0 replies; only message in thread
From: wuxy @ 2019-12-09 12:27 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, wuxy

From: wuxy <wuxy@bitland.corp-partner.google.com>

Samsung SSD with model number:SAMSUNG MZALQ128HBHQ-000L2 has no response
after resume with actions relasted to suspend to idle.This patch applied
NVME_QUIRK_SIMPLE_SUSPEND quirk to fix this issue.

BugLink: https://partnerissuetracker.corp.google.com/u/2/issues/144257635

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

diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index dfe37a525f3a..a82d664d79f2 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -2412,7 +2412,17 @@ static const struct nvme_core_quirk_entry core_quirks[] = {
 		.vid = 0x14a4,
 		.fr = "22301111",
 		.quirks = NVME_QUIRK_SIMPLE_SUSPEND,
-	}
+	},
+	{
+		/*
+		 * This Samsung NVME SSD encountered no repsonse issue when
+		 * running suspend to idle test.
+		 * Samsung has resolved the problem in future firmware
+		 */
+		.vid = 0x144d,
+		.mn = "SAMSUNG MZALQ128HBHQ-000L2",
+		.quirks = NVME_QUIRK_SIMPLE_SUSPEND,
+	},
 };
 
 /* match is null-terminated but idstr is space-padded. */
-- 
2.17.1





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-09 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-09 12:27 [PATCH] nvme: Add quirk for Samsung NVME SSD NM 'SAMSUNG MZALQ128HBHQ-000L2' wuxy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox