]> 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)
commit7ae6e49c52c75132d8c9618017d7b231804d0cc4
tree7c0dab73f2fcafe745c8498e51a43f271f15fa32
parent501778a408210b3f6e711307909e33a52ed21184
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