Skip to contentSkip to conversation

Add quirk for ADATA SX6000PNP

PATCH In review user090909 3 participants 4 messages Dec 26, 2022 – Feb 17, 2023 NVMe

lore
Share & tools
lore

user090909

author
#0 lore raw

PATCH 1/1 Add quirk for ADATA SX6000PNP

From 65e5a06268a4510f2858cbd182dbc60caf7003ff Mon Sep 17 00:00:00 2001
From: user090909 <[email protected]>
Date: Mon, 26 Dec 2022 17:12:54 +0300
Subject: [PATCH] Add quirk for ADATA SX6000PNP

---
 drivers/nvme/host/pci.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/nvme/host/pci.c +0 -0
index f0f8027644bb..ca48d0b229e8 100644
@@ -3415,6 +3415,9 @@ static const struct pci_device_id nvme_id_table[]

= {
{ PCI_DEVICE(0x10ec, 0x5762), /* ADATA SX6000LNP */
.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN |
NVME_QUIRK_BOGUS_NID, },
+ { PCI_DEVICE(0x10ec, 0x5763), /* ADATA SX6000PNP */
+ .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN |
+ NVME_QUIRK_BOGUS_NID, },
{ PCI_DEVICE(0x1cc1, 0x8201), /* ADATA SX8200PNP 512GB */
.driver_data = NVME_QUIRK_NO_DEEPEST_PS |
NVME_QUIRK_IGNORE_DEV_SUBNQN, },

Signature · 1 line
2.39.0
maintainer
#1 lore raw
Quoted 6 lines · On Mon, Dec 26, 2022 at 02:15:39PM +0000, user090909 wrote:

From 65e5a06268a4510f2858cbd182dbc60caf7003ff Mon Sep 17 00:00:00 2001
From: user090909 <[email protected]>
Date: Mon, 26 Dec 2022 17:12:54 +0300
Subject: [PATCH] Add quirk for ADATA SX6000PNP

The sign off is required to use the real name of the patch author.

The patch itself is mangled with line wraps.

#2 lore raw
Quoted 3 lines · Keith Busch

The sign off is required to use the real name of the patch author.

The patch itself is mangled with line wraps.

Yes. Also please check with the vendor if there is a firmware update available first.

author
#3 lore raw
In reply to user090909

user090909 писал(а) 2022-12-26 17:15:

Quoted 24 lines

From 65e5a06268a4510f2858cbd182dbc60caf7003ff Mon Sep 17 00:00:00 2001
From: user090909 <[email protected]>
Date: Mon, 26 Dec 2022 17:12:54 +0300
Subject: [PATCH] Add quirk for ADATA SX6000PNP

---
 drivers/nvme/host/pci.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/nvme/host/pci.c +3 -0
index f0f8027644bb..ca48d0b229e8 100644
@@ -3415,6 +3415,9 @@ static const struct pci_device_id nvme_id_table[]
 = {
 	{ PCI_DEVICE(0x10ec, 0x5762),   /* ADATA SX6000LNP */
 		.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN |
 				NVME_QUIRK_BOGUS_NID, },
+	{ PCI_DEVICE(0x10ec, 0x5763),   /* ADATA SX6000PNP */
+                .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN |
+                                NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x1cc1, 0x8201),   /* ADATA SX8200PNP 512GB */
 		.driver_data = NVME_QUIRK_NO_DEEPEST_PS |
Quoted 1 line

NVME_QUIRK_IGNORE_DEV_SUBNQN, },

This patch doesnt work. Sorry. I send new which work.

drivers/nvme/host/pci.c +0 -0
index d839689..3f4da40 100644
@@ -3480,6 +3480,9 @@ static const struct pci_device_id nvme_id_table[]

= {
{ PCI_DEVICE(0x10ec, 0x5762), /* ADATA SX6000LNP */
.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN |
NVME_QUIRK_BOGUS_NID, },
+ { PCI_DEVICE(0x10ec, 0x5763), /* ADATA SX6000PNP */
+ .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN |
+ NVME_QUIRK_BOGUS_NID, },
{ PCI_DEVICE(0x1cc1, 0x8201), /* ADATA SX8200PNP 512GB */
.driver_data = NVME_QUIRK_NO_DEEPEST_PS |
NVME_QUIRK_IGNORE_DEV_SUBNQN, },

drivers/nvme/host/pci.c +3 -0
index d839689..3f4da40 100644
@@ -3480,6 +3480,9 @@ static const struct pci_device_id nvme_id_table[] = {
 	{ PCI_DEVICE(0x10ec, 0x5762),   /* ADATA SX6000LNP */
 		.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN |
 				NVME_QUIRK_BOGUS_NID, },
+	{ PCI_DEVICE(0x10ec, 0x5763),   /* ADATA SX6000PNP */
+                .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN |
+                                NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x1cc1, 0x8201),   /* ADATA SX8200PNP 512GB */
 		.driver_data = NVME_QUIRK_NO_DEEPEST_PS |
 				NVME_QUIRK_IGNORE_DEV_SUBNQN, },