[PATCH] NVMe quirk needed for multiple Micron MTFDKBA2T0TFH SSDs

Leo Savernik l.savernik at aon.at
Mon Jun 20 12:29:38 PDT 2022


Hello

As suggested by Keith Busch, I'm posting a patch to make multiple Micron 
MTFDKBA2T0TFH devices work to the mailing list for inclusion in the latest 
kernel versions.

This patch applies cleanly against 5.15.48 and 5.19-rc1

Please see bug 216147 [1] for details.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=216147

Leo


diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index b925a5f4afc3..2e5c33f3b868 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3372,5 +3372,7 @@ static const struct pci_device_id nvme_id_table[] = { 
NVME_QUIRK_128_BYTES_SQES |
 				NVME_QUIRK_NO_DEEPEST_PS |
 				NVME_QUIRK_IGNORE_DEV_SUBNQN, },
+	{ PCI_DEVICE(0x1344, 0x5407), /* Micron Technology Inc NVMe SSD */
+		.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN },
 	{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
 	{ 0, }
 };




More information about the Linux-nvme mailing list