]> www.infradead.org Git - users/willy/xarray.git/commitdiff
nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG GAMMIX S50
authorStefan Reiter <stefan@pimaker.at>
Mon, 6 Jun 2022 13:01:29 +0000 (13:01 +0000)
committerChristoph Hellwig <hch@lst.de>
Mon, 13 Jun 2022 17:56:56 +0000 (19:56 +0200)
ADATA XPG GAMMIX S50 drives report bogus eui64 values that appear to
be the same across drives in one system. Quirk them out so they are
not marked as "non globally unique" duplicates.

Signed-off-by: Stefan Reiter <stefan@pimaker.at>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c

index be053d943731baf091d2a5c7424296daf65207a1..631add46e439e372f4c974bb029473ba66956066 100644 (file)
@@ -3487,6 +3487,8 @@ static const struct pci_device_id nvme_id_table[] = {
                .driver_data = NVME_QUIRK_BOGUS_NID, },
        { PCI_DEVICE(0x1e4B, 0x1202),   /* MAXIO MAP1202 */
                .driver_data = NVME_QUIRK_BOGUS_NID, },
+       { PCI_DEVICE(0x1cc1, 0x5350),   /* ADATA XPG GAMMIX S50 */
+               .driver_data = NVME_QUIRK_BOGUS_NID, },
        { PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0061),
                .driver_data = NVME_QUIRK_DMA_ADDRESS_BITS_48, },
        { PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0065),