Skip to contentSkip to conversation

nvme-pci: add BOGUS_NID for Intel 0a54 device

PATCH In review Keith Busch 2 participants 2 messages Oct 12, 2023 – Oct 13, 2023 NVMe

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nvme-pci: add BOGUS_NID for Intel 0a54 device

From: Keith Busch <[email protected]>

These ones claim cmic and nmic capable, so need special consideration to ignore their duplicate identifiers.

---
 drivers/nvme/host/pci.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/nvme/host/pci.c +2 -1
index 60a08dfe8d75f..507bc149046dc 100644
@@ -3328,7 +3328,8 @@ static const struct pci_device_id nvme_id_table[] = {
 	{ PCI_VDEVICE(INTEL, 0x0a54),	/* Intel P4500/P4600 */
 		.driver_data = NVME_QUIRK_STRIPE_SIZE |
 				NVME_QUIRK_DEALLOCATE_ZEROES |
-				NVME_QUIRK_IGNORE_DEV_SUBNQN, },
+				NVME_QUIRK_IGNORE_DEV_SUBNQN |
+				NVME_QUIRK_BOGUS_NID, },
 	{ PCI_VDEVICE(INTEL, 0x0a55),	/* Dell Express Flash P4600 */
 		.driver_data = NVME_QUIRK_STRIPE_SIZE |
 				NVME_QUIRK_DEALLOCATE_ZEROES, },
Signature · 1 line
2.34.1