From: Joel Granados Date: Tue, 21 Jun 2022 07:05:00 +0000 (+0200) Subject: nvme: fix the CRIMS and CRWMS definitions to match the spec X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=23c9cd56007e90b2c2317c5eab6ab12921b4314a;p=linux.git 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 Reviewed-by: Keith Busch Reviewed-by: Sagi Grimberg Reviewed-by: Chaitanya Kulkarni Signed-off-by: Christoph Hellwig --- diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 29ec3e3481ff6..e3934003f2397 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 {