Skip to contentSkip to conversation

nvme-pci: Mark Phison E16 (Corsair MP600) as IGNORE_DEV_SUBNQN

PATCH Applied Claus Stovgaard 3 participants 3 messages Feb 1, 2021 – Feb 2, 2021 NVMe

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nvme-pci: Mark Phison E16 (Corsair MP600) as IGNORE_DEV_SUBNQN

Tested both with Corsairs firmware 11.3 and 13.0 for the MP600 and both have the issue as reported by the kernel.

nvme nvme0: missing or invalid SUBNQN field.

---
 drivers/nvme/host/pci.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/nvme/host/pci.c +2 -0
index 81e6389b2042..41b1b0731cbd 100644
@@ -3242,6 +3242,8 @@ static const struct pci_device_id nvme_id_table[] = {
 	{ PCI_DEVICE(0x144d, 0xa822),   /* Samsung PM1725a */
 		.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY |
 				NVME_QUIRK_IGNORE_DEV_SUBNQN, },
+	{ PCI_DEVICE(0x1987, 0x5016),	/* Phison E16 (Corsair MP600) */
+		.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN, },
 	{ PCI_DEVICE(0x1d1d, 0x1f1f),	/* LighNVM qemu device */
 		.driver_data = NVME_QUIRK_LIGHTNVM, },
 	{ PCI_DEVICE(0x1d1d, 0x2807),	/* CNEX WL */
Signature · 7 lines
2.26.2


_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme
Acked-by on v1 1/1
#1 lore raw
Quoted 25 lines · Claus Stovgaard

Tested both with Corsairs firmware 11.3 and 13.0 for the MP600 and both have the issue as reported by the kernel.

nvme nvme0: missing or invalid SUBNQN field.

---
 drivers/nvme/host/pci.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/nvme/host/pci.c +2 -1
index 81e6389b2042..41b1b0731cbd 100644
@@ -3242,6 +3242,8 @@ static const struct pci_device_id nvme_id_table[] = {
        { PCI_DEVICE(0x144d, 0xa822),   /* Samsung PM1725a */
                .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY |
                                NVME_QUIRK_IGNORE_DEV_SUBNQN, },
+       { PCI_DEVICE(0x1987, 0x5016),   /* Phison E16 (Corsair MP600) */
+               .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN, },
        { PCI_DEVICE(0x1d1d, 0x1f1f),   /* LighNVM qemu device */
                .driver_data = NVME_QUIRK_LIGHTNVM, },
        { PCI_DEVICE(0x1d1d, 0x2807),   /* CNEX WL */
--
Quoted 2 lines

2.26.2

Can't test this - don't have an MP600 of my own to test with - but it should work just fine. If anyone else has an MP600 to throw at this that'd be great.

Best regards,
Amy Parker
(she/her/hers)

_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme