Skip to contentSkip to conversation

nvme-pci: phison e16 has bogus namespace ids

PATCH Applied Keith Busch 3 participants 3 messages Jul 5, 2022 – Jul 6, 2022 NVMe

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nvme-pci: phison e16 has bogus namespace ids

From: Keith Busch <[email protected]>

Add the quirk.

---
 drivers/nvme/host/pci.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/nvme/host/pci.c +2 -1
index e7af2234e53b..193b44755662 100644
@@ -3465,7 +3465,8 @@ static const struct pci_device_id nvme_id_table[] = {
 	{ PCI_DEVICE(0x1987, 0x5012),	/* Phison E12 */
 		.driver_data = NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x1987, 0x5016),	/* Phison E16 */
-		.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN, },
+		.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN |
+				NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x1b4b, 0x1092),	/* Lexar 256 GB SSD */
 		.driver_data = NVME_QUIRK_NO_NS_DESC_LIST |
 				NVME_QUIRK_IGNORE_DEV_SUBNQN, },
Signature · 1 line
2.30.2