[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221114134852.73402-1-beanhuo@iokpp.de>
Date: Mon, 14 Nov 2022 14:48:52 +0100
From: Bean Huo <beanhuo@...pp.de>
To: beanhuo@...ron.com, kbusch@...nel.org, axboe@...com, hch@....de,
sagi@...mberg.me
Cc: linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: [PATCH] nvme-pci: add NVME_QUIRK_BOGUS_NID for Micron Nitro
From: Bean Huo <beanhuo@...ron.com>
Added a quirk to fix Micron Nitro NVMe reporting duplicate NGUIDs.
Cc: <stable@...r.kernel.org>
Signed-off-by: Bean Huo <beanhuo@...ron.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
Powered by blists - more mailing lists