[PATCH] nvme: Add quirks for Lexar 256GB SSD

Keith Busch kbusch at kernel.org
Thu Feb 25 11:22:34 EST 2021


On Wed, Feb 24, 2021 at 10:23:23AM +0000, Pascal Terjan wrote:
> On Wed, 24 Feb 2021 at 09:21, Christoph Hellwig <hch at infradead.org> wrote:
> >
> > On Tue, Feb 23, 2021 at 10:10:46PM +0000, Pascal Terjan wrote:
> > > Add NVME_QUIRK_NO_NS_DESC_LIST to Lexar 256GB SSD to allow it to
> > > work again, and add NVME_QUIRK_IGNORE_DEV_SUBNQN to avoid a warning.
> >
> > Why again?  The drive has always been broken since the desc list has
> > been a mandatory feature since NVMe 1.3..
> 
> According to the reporter it works on Debian which is still running a
> 4.19 kernel
> My guess is that it worked before
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=538af88ea7d9de241e6b6f006e9049c4d96723bb
> as the error was ignored
> And I believe it would have worked again until
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5bedd3afee8eb01ccd256f0cd2cc0fa6f841417a
> as a waorkaround was added at some point (it changed at
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fb314eb0cbb2e11540d1ae1a7b28346397f621ef
> but was laready there)

Right, the error used to be ignored, but now we avoid the error in the
first place with the quirk.



More information about the Linux-nvme mailing list