All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nvme-pci: add NVME_QUIRK_BOGUS_NID for Micron Nitro
@ 2022-11-14 13:48 Bean Huo
  2022-11-15  9:49 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Bean Huo @ 2022-11-14 13:48 UTC (permalink / raw)
  To: beanhuo, kbusch, axboe, hch, sagi; +Cc: linux-nvme, linux-kernel, stable

From: Bean Huo <beanhuo@micron.com>

Added a quirk to fix Micron Nitro NVMe reporting duplicate NGUIDs.

Cc: <stable@vger.kernel.org>
Signed-off-by: Bean Huo <beanhuo@micron.com>
---
 drivers/nvme/host/pci.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index bcbef6bc5672..5ded5703e06e 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3491,6 +3491,8 @@ static const struct pci_device_id nvme_id_table[] = {
 				NVME_QUIRK_IGNORE_DEV_SUBNQN, },
 	 { PCI_DEVICE(0x1344, 0x5407), /* Micron Technology Inc NVMe SSD */
 		.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN },
+	 { PCI_DEVICE(0x1344, 0x6001),   /* Micron Nitro NVMe */
+		 .driver_data = NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x1c5c, 0x1504),   /* SK Hynix PC400 */
 		.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
 	{ PCI_DEVICE(0x1c5c, 0x174a),   /* SK Hynix P31 SSD */
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] nvme-pci: add NVME_QUIRK_BOGUS_NID for Micron Nitro
  2022-11-14 13:48 [PATCH] nvme-pci: add NVME_QUIRK_BOGUS_NID for Micron Nitro Bean Huo
@ 2022-11-15  9:49 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2022-11-15  9:49 UTC (permalink / raw)
  To: Bean Huo
  Cc: beanhuo, kbusch, axboe, hch, sagi, linux-nvme, linux-kernel, stable

Thanks,

applied to nvme-6.1.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-15  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14 13:48 [PATCH] nvme-pci: add NVME_QUIRK_BOGUS_NID for Micron Nitro Bean Huo
2022-11-15  9:49 ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.