Skip to content

Commit 23c9cd5

Browse files
JoelgranadosChristoph Hellwig
authored andcommitted
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: 354201c ("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>
1 parent 41f3804 commit 23c9cd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/nvme.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ enum {
233233
};
234234

235235
enum {
236-
NVME_CAP_CRMS_CRIMS = 1ULL << 59,
237-
NVME_CAP_CRMS_CRWMS = 1ULL << 60,
236+
NVME_CAP_CRMS_CRWMS = 1ULL << 59,
237+
NVME_CAP_CRMS_CRIMS = 1ULL << 60,
238238
};
239239

240240
struct nvme_id_power_state {

0 commit comments

Comments
 (0)