public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Armandas Kvietkus <armundunelis@gmail.com>
To: kbusch@kernel.org, axboe@kernel.dk, hch@lst.de, sagi@grimberg.me
Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org,
	Armandas Kvietkus <armundunelis@gmail.com>
Subject: [PATCH 3/3] nvme-pci: add quirks for Lexar SSD NM620 512GB (1e4b:1202)
Date: Mon,  4 May 2026 09:44:33 +0200	[thread overview]
Message-ID: <20260504074433.28493-1-armundunelis@gmail.com> (raw)

The Lexar SSD NM620 512GB has an invalid SUBNQN field and reports
bogus namespace identifiers. Add NVME_QUIRK_IGNORE_DEV_SUBNQN and
NVME_QUIRK_BOGUS_NID quirks to suppress the resulting boot warnings
Signed-off-by: Armandas Kvietkus <armundunelis@gmail.com>
---
 drivers/nvme/host/pci.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 9fd04cd7c..f6cc27e28 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -4222,6 +4222,9 @@ static const struct pci_device_id nvme_id_table[] = {
 				NVME_QUIRK_IGNORE_DEV_SUBNQN, },
 	{ PCI_DEVICE(0x10ec, 0x5763), /* TEAMGROUP T-FORCE CARDEA ZERO Z330 SSD */
 		.driver_data = NVME_QUIRK_BOGUS_NID, },
+	{ PCI_DEVICE(0x1e4b, 0x1202), /* Lexar SSD NM620 512GB */
+		.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN |
+				NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x1e4b, 0x1602), /* HS-SSD-FUTURE 2048G  */
 		.driver_data = NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x10ec, 0x5765), /* TEAMGROUP MP33 2TB SSD */
-- 
2.54.0


             reply	other threads:[~2026-05-04  7:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-04  7:44 Armandas Kvietkus [this message]
2026-05-06 13:26 ` [PATCH 3/3] nvme-pci: add quirks for Lexar SSD NM620 512GB (1e4b:1202) Keith Busch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260504074433.28493-1-armundunelis@gmail.com \
    --to=armundunelis@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=hch@lst.de \
    --cc=kbusch@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=sagi@grimberg.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox