Commit b9830dfe authored by Klaus Jensen's avatar Klaus Jensen Committed by Zheng Zengkai
Browse files

nvme-pci: allow use of cmb on v1.4 controllers



stable inclusion
from stable-5.10.14
commit 3e554aa3d08a1d319b60c8e8db31dcdd97f3b945
bugzilla: 48051

--------------------------------

[ Upstream commit 20d3bb92 ]

Since NVMe v1.4 the Controller Memory Buffer must be explicitly enabled
by the host.

Signed-off-by: default avatarKlaus Jensen <k.jensen@samsung.com>
[hch: avoid a local variable and add a comment]
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent eb336f0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment