]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: remove HMB teardown on reset
authorKeith Busch <keith.busch@intel.com>
Wed, 6 Jun 2018 14:13:07 +0000 (08:13 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Jun 2018 18:51:11 +0000 (12:51 -0600)
commitcee4bcbc9ce337fbf9e183484b663c8e35bb874e
tree49943f1778fb52a0944c6056dca56b2192277876
parent480b39e322f5d72d84363116db21fc2af77a6792
nvme-pci: remove HMB teardown on reset

The controller is required to disable its host memory buffer use on
controller reset. We don't need to submit an admin command to delete it,
so this patch skips sending that command so we don't need to worry about
handling a timeout.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c