]> 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)
commitcfa9d0265b297af19f7dee14652f16eade4d08a5
tree49943f1778fb52a0944c6056dca56b2192277876
parentcbc931a395ff947fdc5ac0dd4645e2c925ca0ab4
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