linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: wuxy@bitland.com.cn
To: akpm@linux-foundation.org
Cc: linux-mm@kvack.org, wuxy@bitland.corp-partner.google.com
Subject: [PATCH] nvme: Add quirk for Samsung NVME SSD NM 'SAMSUNG MZALQ128HBHQ-000L2'
Date: Mon,  9 Dec 2019 20:27:28 +0800	[thread overview]
Message-ID: <20191209122728.22433-1-wuxy@bitland.com.cn> (raw)

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





                 reply	other threads:[~2019-12-09 12:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191209122728.22433-1-wuxy@bitland.com.cn \
    --to=wuxy@bitland.com.cn \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=wuxy@bitland.corp-partner.google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox