[PATCH 1/1] nvme-pci: add quirks for Lexar NM790
Jason Nader
dev at kayoway.com
Wed May 22 08:56:14 PDT 2024
NVME device 'Lexar SSD NM790 2TB', which shows in `lspci -nn` as
Shenzhen Longsys Electronics Co., Ltd. Lexar NM790 NVME SSD (DRAM-less) [1d97:1602] (rev 01),
shows the following warnings in dmesg:
nvme nvme1: missing or invalid SUBNQN field.
block nvme1n1: No UUID available providing old NGUID
To fix this, add IGNORE_DEV_SUBNQN and BOGUS_NID quirks for this device.
Signed-off-by: Jason Nader <dev at kayoway.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 710043086dff..8ca831cb2f79 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3490,6 +3490,9 @@ static const struct pci_device_id nvme_id_table[] = {
{ PCI_DEVICE(0x1d97, 0x2269), /* Lexar NM760 */
.driver_data = NVME_QUIRK_BOGUS_NID |
NVME_QUIRK_IGNORE_DEV_SUBNQN, },
+ { PCI_DEVICE(0x1d97, 0x1602), /* Lexar NM790 */
+ .driver_data = NVME_QUIRK_BOGUS_NID |
+ 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, 0x1602), /* HS-SSD-FUTURE 2048G */
--
2.45.1
More information about the Linux-nvme
mailing list