]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85df3bc3da42f70b8badc00e0117c57a17cbfb5b
treef882ca01cc4c47b5bb1ebe6b9d28d665dffef4eb
parenta8535b1d7fae7d9c558fb388c93d99045d00e2b2
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: fc8a158e0c81 ("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