[PATCH] nvme: Add quirk for Samsung NVME SSD NM 'SAMSUNG MZALQ128HBHQ-000L2'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: wuxy <wuxy@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
 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







[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux