nvme-pci: add BOGUS_NID for Intel 0a54 device
authorKeith Busch <kbusch@kernel.org>
Thu, 12 Oct 2023 18:13:51 +0000 (11:13 -0700)
committerKeith Busch <kbusch@kernel.org>
Wed, 18 Oct 2023 21:08:39 +0000 (14:08 -0700)
These ones claim cmic and nmic capable, so need special consideration to ignore
their duplicate identifiers.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=217981
Reported-by: welsh@cassens.com
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/pci.c

index 347cb5d..3f0c9ee 100644 (file)
@@ -3329,7 +3329,8 @@ static const struct pci_device_id nvme_id_table[] = {
        { PCI_VDEVICE(INTEL, 0x0a54),   /* Intel P4500/P4600 */
                .driver_data = NVME_QUIRK_STRIPE_SIZE |
                                NVME_QUIRK_DEALLOCATE_ZEROES |
-                               NVME_QUIRK_IGNORE_DEV_SUBNQN, },
+                               NVME_QUIRK_IGNORE_DEV_SUBNQN |
+                               NVME_QUIRK_BOGUS_NID, },
        { PCI_VDEVICE(INTEL, 0x0a55),   /* Dell Express Flash P4600 */
                .driver_data = NVME_QUIRK_STRIPE_SIZE |
                                NVME_QUIRK_DEALLOCATE_ZEROES, },