Skip to content

Commit 688b419

Browse files
0x9fff00keithbusch
authored andcommitted
nvme-pci: add NVME_QUIRK_BOGUS_NID for Samsung PM9B1 256G and 512G
The Samsung PM9B1 512G SSD found in some Lenovo Yoga 7 14ARB7 laptop units reports eui as 0001000200030004 when resuming from s2idle, causing the device to be removed with this error in dmesg: nvme nvme0: identifiers changed for nsid 1 To fix this, add a quirk to ignore namespace identifiers for this device. Signed-off-by: August Wikerfors <git@augustwikerfors.se> Signed-off-by: Keith Busch <kbusch@kernel.org>
1 parent 29b434d commit 688b419

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/nvme/host/pci.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3402,7 +3402,8 @@ static const struct pci_device_id nvme_id_table[] = {
34023402
{ PCI_DEVICE(0x1d97, 0x2263), /* SPCC */
34033403
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
34043404
{ PCI_DEVICE(0x144d, 0xa80b), /* Samsung PM9B1 256G and 512G */
3405-
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
3405+
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES |
3406+
NVME_QUIRK_BOGUS_NID, },
34063407
{ PCI_DEVICE(0x144d, 0xa809), /* Samsung MZALQ256HBJD 256G */
34073408
.driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, },
34083409
{ PCI_DEVICE(0x144d, 0xa802), /* Samsung SM953 */

0 commit comments

Comments
 (0)