Skip to contentSkip to conversation

Add quirk for ADATA SX6000PNP

PATCH In review Ivan Rubinov 2 participants 2 messages Feb 10, 2023 – Feb 13, 2023 NVMe

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add quirk for ADATA SX6000PNP

From 5a8f4f54c85ccb8e06b41b27bcaf19ec4f4d7c85 Mon Sep 17 00:00:00 2001
From: Ivan Rubinov <[email protected]>
Date: Fri, 10 Feb 2023 14:59:41 +0300
Subject: [PATCH] Add quirk for ADATA SX6000PNP

---
 drivers/nvme/host/pci.c | 2 ++

 1 file changed, 2 insertions(+)
drivers/nvme/host/pci.c +0 -0
index c734934c407c..c63443d531b3 100644
@@ -3365,6 +3365,8 @@ static const struct pci_device_id nvme_id_table[] = {

     { PCI_VDEVICE(INTEL, 0x0953),    /* Intel 750/P3500/P3600/P3700 */ .driver_data = NVME_QUIRK_STRIPE_SIZE | NVME_QUIRK_DEALLOCATE_ZEROES, },
+    { PCI_DEVICE(0x10ec, 0x5763),   /* ADATA SX6000PNP */
+        .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN | NVME_QUIRK_BOGUS_NID, }, { PCI_VDEVICE(INTEL, 0x0a53),    /* Intel P3520 */ .driver_data = NVME_QUIRK_STRIPE_SIZE | NVME_QUIRK_DEALLOCATE_ZEROES, },

Signature · 1 line
2.39.1
maintainer
#1 lore raw
Quoted 4 lines

From: Ivan Rubinov <[email protected]>
Date: Fri, 10 Feb 2023 14:59:41 +0300
Subject: [PATCH] Add quirk for ADATA SX6000PNP

Is this referencing to a bugzilla or other?

Quoted 20 lines
---
  drivers/nvme/host/pci.c | 2 ++
  1 file changed, 2 insertions(+)
drivers/nvme/host/pci.c +2 -0
index c734934c407c..c63443d531b3 100644
@@ -3365,6 +3365,8 @@ static const struct pci_device_id nvme_id_table[] = {
      { PCI_VDEVICE(INTEL, 0x0953),    /* Intel 750/P3500/P3600/P3700 */
          .driver_data = NVME_QUIRK_STRIPE_SIZE |
                  NVME_QUIRK_DEALLOCATE_ZEROES, },
+    { PCI_DEVICE(0x10ec, 0x5763),   /* ADATA SX6000PNP */
+        .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN | 
 NVME_QUIRK_BOGUS_NID, },
      { PCI_VDEVICE(INTEL, 0x0a53),    /* Intel P3520 */
          .driver_data = NVME_QUIRK_STRIPE_SIZE |

                 NVME_QUIRK_DEALLOCATE_ZEROES, },