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)
commitfe76fcfb91a97eccf20cec17ff05a27b8d5b0801
tree49943f1778fb52a0944c6056dca56b2192277876
parentded45505dbfdcaf1e49ae0349e5dafb59c9efbe5
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