nvme-pci: sk hynix p31 has bogus namespace ids
authorKeith Busch <kbusch@kernel.org>
Mon, 13 Jun 2022 14:45:49 +0000 (07:45 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 13 Jun 2022 17:56:56 +0000 (19:56 +0200)
Add the quirk.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216049
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c

index 0d2113468523369f9a61430d35dc98236bfe6fe1..82b4daa9bf9537d1d09056e7be7bc0ccb8076853 100644 (file)
@@ -3476,6 +3476,8 @@ static const struct pci_device_id nvme_id_table[] = {
                                NVME_QUIRK_IGNORE_DEV_SUBNQN, },
        { PCI_DEVICE(0x1c5c, 0x1504),   /* SK Hynix PC400 */
                .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
+       { PCI_DEVICE(0x1c5c, 0x174a),   /* SK Hynix P31 SSD */
+               .driver_data = NVME_QUIRK_BOGUS_NID, },
        { PCI_DEVICE(0x15b7, 0x2001),   /*  Sandisk Skyhawk */
                .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
        { PCI_DEVICE(0x1d97, 0x2263),   /* SPCC */