提交 23c9cd56 编写于 作者: J Joel Granados 提交者: Christoph Hellwig

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: 354201c5 ("nvme: add support for TP4084 - Time-to-Ready Enhancements").
Signed-off-by: NJoel Granados <j.granados@samsung.com>
Reviewed-by: NKeith Busch <kbusch@kernel.org>
Reviewed-by: NSagi Grimberg <sagi@grimberg.me>
Reviewed-by: NChaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 41f38043
...@@ -233,8 +233,8 @@ enum { ...@@ -233,8 +233,8 @@ enum {
}; };
enum { enum {
NVME_CAP_CRMS_CRIMS = 1ULL << 59, NVME_CAP_CRMS_CRWMS = 1ULL << 59,
NVME_CAP_CRMS_CRWMS = 1ULL << 60, NVME_CAP_CRMS_CRIMS = 1ULL << 60,
}; };
struct nvme_id_power_state { struct nvme_id_power_state {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册