[PATCH] nvme: fix cns check

Christoph Hellwig hch at lst.de
Thu Oct 10 00:56:33 PDT 2024


On Wed, Oct 09, 2024 at 02:40:35PM -0700, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
> 
> The 1.1 spec defined two bits for the Identify CNS field, so such an
> implementation wouldn't be expected to check the full byte for a
> decoding it. Provide a different helper function to make these
> decisions as the existing check only separates the single-bit from the
> two-bit spec versions.

I don't really understand what this is trying to solve.  Is there a
controller in the wild reporting 1.1 compliance but reporting useful
information in the NVM Command Set specific Identify Controller data
structure?




More information about the Linux-nvme mailing list