Skip to contentSkip to conversation

nvme-pci: Ignore SUBNQN on Samsung 970 EVO Plus

PATCH New ojab 1 participant 1 message Jul 8, 2021 NVMe

lore
Share & tools
lore

ojab

author
#0 lore raw

PATCH 1/1 nvme-pci: Ignore SUBNQN on Samsung 970 EVO Plus

$ nvme id-ctrl /dev/nvme0  | grep nqn
subnqn    :
$ dmesg | grep NQN
[    2.503640] nvme nvme0: missing or invalid SUBNQN field.

---
Not sure if marketing or lspci name should be used, probably doesn't matter

 drivers/nvme/host/pci.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/nvme/host/pci.c +2 -0
index a29b170701fc..2307fb473e27 100644
@@ -3239,6 +3239,8 @@ static const struct pci_device_id nvme_id_table[] = {
 		.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, 0xa808),   /* Samsung SM981/PM981/PM983 */
+		.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN, },
 	{ PCI_DEVICE(0x144d, 0xa821),   /* Samsung PM1725 */
 		.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
 	{ PCI_DEVICE(0x144d, 0xa822),   /* Samsung PM1725a */

--
2.32.0

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