Re: [PATCH] nvme-pci: add NVME_QUIRK_BOGUS_NID for Samsung PM9B1 256G and 512G

From: August Wikerfors
Date: Wed Nov 16 2022 - 12:42:55 EST


On 2022-11-16 18:19, Christoph Hellwig wrote:
On Wed, Nov 16, 2022 at 06:17:27PM +0100, August Wikerfors wrote:
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

What EUI did it report before? Is the identifier stable after
multiple resume cycles?
The original EUI is "002538e621b440e5". Using the patches from [1] and [2] for debugging I consistently get this output on every resume:
eui changed from 002538e621b440e5 to 0001000200030004
[1] https://lore.kernel.org/all/20220408025704.6352-1-me@xxxxxxxxxxx/
[2] https://lore.kernel.org/all/20220408062210.GA410@xxxxxx/