nvme: fix the CRIMS and CRWMS definitions to match the spec
authorJoel Granados <j.granados@samsung.com>
Tue, 21 Jun 2022 07:05:00 +0000 (09:05 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 23 Jun 2022 13:22:22 +0000 (15:22 +0200)
commit23c9cd56007e90b2c2317c5eab6ab12921b4314a
treef882ca01cc4c47b5bb1ebe6b9d28d665dffef4eb
parent41f38043f884c66af4114a7109cf540d6222f450
nvme: fix the CRIMS and CRWMS definitions to match the spec

Adjust the values of NVME_CAP_CRMS_CRIMS and NVME_CAP_CRMS_CRWMS masks as
they are different from the ones in TP4084 - Time-to-ready.

Fixes: 354201c53e61 ("nvme: add support for TP4084 - Time-to-Ready Enhancements").
Signed-off-by: Joel Granados <j.granados@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/nvme.h