[PATCH 2/4] nvme: trace the Set Features Save bit from the right position

Nilay Shroff nilay at linux.ibm.com
Wed Dec 2 06:07:33 PST 2026


On 12/1/26 5:23 PM, Guixin Liu wrote:
> The Save (SV) bit of Set Features is CDW10 bit 31. The trace parser
> masks byte 3 of CDW10 with 0x8, which selects the reserved bit 27
> instead, so the trace shows sv=0 for commands that save the feature
> and a nonzero sv when a reserved bit is set.
> 
> Mask with 0x80 instead.
> 
> Fixes: a7b5e8d864b3 ("nvme: add set feature tracing support")
> Cc:stable at vger.kernel.org
> Signed-off-by: Guixin Liu<kanie at linux.alibaba.com>

Looks good to me:

Reviewed-by: Nilay Shroff <nilay at linux.ibm.com>



More information about the Linux-nvme mailing list