]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: allow use of cmb on v1.4 controllers
authorKlaus Jensen <k.jensen@samsung.com>
Fri, 15 Jan 2021 06:30:46 +0000 (07:30 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 18 Jan 2021 17:58:18 +0000 (18:58 +0100)
commit870d61991e63e1870fbfdd61aa3ba1ddb3254098
tree7c0dab73f2fcafe745c8498e51a43f271f15fa32
parentbf550fd4870f9277fcd4e24d7d351319837b0a19
nvme-pci: allow use of cmb on v1.4 controllers

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

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
[hch: avoid a local variable and add a comment]
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c
include/linux/nvme.h