nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG GAMMIX S70
authorDennis P. Kliem <dpkliem@gmail.com>
Thu, 11 Aug 2022 10:56:57 +0000 (12:56 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 11 Aug 2022 12:10:16 +0000 (14:10 +0200)
ADATA XPG GAMMIX S70 reports bogus eui64 values that appear to be the same
across all drives. Quirk them out so they are not marked as "non globally
unique" duplicates.

Signed-off-by: Dennis P. Kliem <dpkliem@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c

index 71a4f26ba4760597c1bf115c491e85e0711058b5..a222caa1ab002c9725558373d9d58e5f07e01d65 100644 (file)
@@ -3516,6 +3516,8 @@ static const struct pci_device_id nvme_id_table[] = {
                .driver_data = NVME_QUIRK_BOGUS_NID, },
        { PCI_DEVICE(0x1cc1, 0x5350),   /* ADATA XPG GAMMIX S50 */
                .driver_data = NVME_QUIRK_BOGUS_NID, },
+       { PCI_DEVICE(0x1dbe, 0x5236),   /* ADATA XPG GAMMIX S70 */
+               .driver_data = NVME_QUIRK_BOGUS_NID, },
        { PCI_DEVICE(0x1e49, 0x0041),   /* ZHITAI TiPro7000 NVMe SSD */
                .driver_data = NVME_QUIRK_NO_DEEPEST_PS, },
        { PCI_DEVICE(0xc0a9, 0x540a),   /* Crucial P2 */