Skip to contentSkip to conversation

NVMe: Add Quirk Delay Before CHK RDY for WDC SN200

PATCH New jeffreyalien 2 participants 2 messages Nov 10, 2017 – Nov 20, 2017 NVMe

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NVMe: Add Quirk Delay Before CHK RDY for WDC SN200

Signed-off-by jeffreyalien <jeff.lien at wdc.com>
---
 drivers/nvme/host/nvme.h | 2 +-
 drivers/nvme/host/pci.c  | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
drivers/nvme/host/nvme.h +1 -1
index d3f3c4447515..044af553204c 100644
@@ -108,7 +108,7 @@ static inline struct nvme_request *nvme_req(struct request *req)
  * NVME_QUIRK_DELAY_BEFORE_CHK_RDY quirk enabled. The value (in ms) was
  * found empirically.
  */
-#define NVME_QUIRK_DELAY_AMOUNT		2000
+#define NVME_QUIRK_DELAY_AMOUNT		2300
 
 enum nvme_ctrl_state {
 	NVME_CTRL_NEW,
drivers/nvme/host/pci.c +2 -0
index 3f5a04c586ce..75539f7c58b9 100644
@@ -2519,6 +2519,8 @@ static const struct pci_device_id nvme_id_table[] = {
 		.driver_data = NVME_QUIRK_IDENTIFY_CNS, },
 	{ PCI_DEVICE(0x1c58, 0x0003),	/* HGST adapter */
 		.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
+	{ PCI_DEVICE(0x1c58, 0x0023),	/* WDC SN200 adapter */
+		.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
 	{ PCI_DEVICE(0x1c5f, 0x0540),	/* Memblaze Pblaze4 adapter */
 		.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
 	{ PCI_DEVICE(0x144d, 0xa821),   /* Samsung PM1725 */
Signature · 1 line
2.14.2.746.g8fb8a94
#1 lore raw

PATCH 1/1 NVMe: Add Quirk Delay Before CHK RDY for WDC SN200

I'm a bit grumpy that this still shows up for a new design after the issue is known..

Quoted 1 line · jeffreyalien
Signed-off-by jeffreyalien <jeff.lien at wdc.com>

Jeff, can you provide your properly formatted name so that we can apply this?