linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM620
@ 2023-03-13 10:11 Philipp Geulen
  2023-03-15  5:17 ` Chaitanya Kulkarni
  2023-03-15 14:00 ` Christoph Hellwig
  0 siblings, 2 replies; 3+ messages in thread
From: Philipp Geulen @ 2023-03-13 10:11 UTC (permalink / raw)
  To: linux-nvme
  Cc: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
	p.geulen

Added a quirk to fix Lexar NM620 1TB SSD reporting duplicate NGUIDs.

Signed-off-by: Philipp Geulen <p.geulen@js-elektronik.de>
---
 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 5b95c94ee40f..bb63afeb0fb1 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3435,6 +3435,8 @@ static const struct pci_device_id nvme_id_table[] = {
 		.driver_data = NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x1d97, 0x2263), /* Lexar NM610 */
 		.driver_data = NVME_QUIRK_BOGUS_NID, },
+	{ PCI_DEVICE(0x1d97, 0x1d97), /* Lexar NM620 */
+		.driver_data = NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x1d97, 0x2269), /* Lexar NM760 */
 		.driver_data = NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0061),
-- 
2.39.2



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

* Re: [PATCH] nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM620
  2023-03-13 10:11 [PATCH] nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM620 Philipp Geulen
@ 2023-03-15  5:17 ` Chaitanya Kulkarni
  2023-03-15 14:00 ` Christoph Hellwig
  1 sibling, 0 replies; 3+ messages in thread
From: Chaitanya Kulkarni @ 2023-03-15  5:17 UTC (permalink / raw)
  To: Philipp Geulen, linux-nvme@lists.infradead.org
  Cc: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg

On 3/13/2023 3:11 AM, Philipp Geulen wrote:
> Added a quirk to fix Lexar NM620 1TB SSD reporting duplicate NGUIDs.
> 
> Signed-off-by: Philipp Geulen <p.geulen@js-elektronik.de>
> ---

Seems like Lexar has quiet a few quirks.

Maybe its time to inform their f/w team..

Reviewed-by: Chaitanya Kulkarni <kkch@nvidia.com>

-ck



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

* Re: [PATCH] nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM620
  2023-03-13 10:11 [PATCH] nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM620 Philipp Geulen
  2023-03-15  5:17 ` Chaitanya Kulkarni
@ 2023-03-15 14:00 ` Christoph Hellwig
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2023-03-15 14:00 UTC (permalink / raw)
  To: Philipp Geulen
  Cc: linux-nvme, Keith Busch, Jens Axboe, Christoph Hellwig,
	Sagi Grimberg

Thanks,

applied to nvme-6.3.


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

end of thread, other threads:[~2023-03-15 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-13 10:11 [PATCH] nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM620 Philipp Geulen
2023-03-15  5:17 ` Chaitanya Kulkarni
2023-03-15 14:00 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).