]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: fix the definition of the doorbell buffer config support bit
authorChangpeng Liu <changpeng.liu@intel.com>
Thu, 31 Aug 2017 03:22:49 +0000 (11:22 +0800)
committerChristoph Hellwig <hch@lst.de>
Wed, 30 Aug 2017 12:46:32 +0000 (14:46 +0200)
commit53489e1a1b4a583a3131c7a9b5e40fc8a96c7b2f
tree95dd36913fd7fe3b7a8909f427f95f0e96b3229e
parentfd725e8038da05ff1599c5e5b0537856a12b476b
nvme: fix the definition of the doorbell buffer config support bit

NVMe 1.3 specification defines the Optional Admin Command Support feature
flags, bit 8 set to '1' then the controller supports the Doorbell Buffer
Config command. Bit 7 is used for Virtualization Mangement command.

Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Fixes: 66186626 ("nvme: improve performance for virtual NVMe devices")
Cc: stable@vger.kernel.org
include/linux/nvme.h