]> 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)
commitf2c7fa1739c242f38a06773cbb2ac4942b3231bb
treef882ca01cc4c47b5bb1ebe6b9d28d665dffef4eb
parent0d377c4568963f66a115c6db3d00a3ed403f3540
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: 0aad5c9877a9 ("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