diff options
author | Joel Granados <j.granados@samsung.com> | 2022-06-21 09:05:00 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-06-23 15:22:22 +0200 |
commit | 23c9cd56007e90b2c2317c5eab6ab12921b4314a (patch) | |
tree | f882ca01cc4c47b5bb1ebe6b9d28d665dffef4eb /include | |
parent | 41f38043f884c66af4114a7109cf540d6222f450 (diff) | |
download | linux-23c9cd56007e90b2c2317c5eab6ab12921b4314a.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nvme.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 29ec3e3481ff..e3934003f239 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h @@ -233,8 +233,8 @@ enum { }; enum { - NVME_CAP_CRMS_CRIMS = 1ULL << 59, - NVME_CAP_CRMS_CRWMS = 1ULL << 60, + NVME_CAP_CRMS_CRWMS = 1ULL << 59, + NVME_CAP_CRMS_CRIMS = 1ULL << 60, }; struct nvme_id_power_state { |