[PATCH] nvme-pci: Ignore SUBNQN on Samsung 970 EVO Plus
ojab
ojab at ojab.ru
Wed Jul 7 21:12:43 PDT 2021
$ nvme id-ctrl /dev/nvme0 | grep nqn
subnqn :
$ dmesg | grep NQN
[ 2.503640] nvme nvme0: missing or invalid SUBNQN field.
Signed-off-by: Slava Kardakov <ojab at ojab.ru>
---
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(+)
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index a29b170701fc..2307fb473e27 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -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
More information about the Linux-nvme
mailing list