]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: Fix timeouts in connecting state
authorKeith Busch <keith.busch@intel.com>
Thu, 8 Feb 2018 15:55:34 +0000 (08:55 -0700)
committerKeith Busch <keith.busch@intel.com>
Wed, 14 Feb 2018 00:09:50 +0000 (17:09 -0700)
commite07893a227f320f03c84fe8e13d104815907ea01
tree4cd5574d84e91cf301cd4b4ac81faede92708738
parent442b4a985f5cb072661526d30e193759423dc6cd
nvme-pci: Fix timeouts in connecting state

We need to halt the controller immediately if we haven't completed
initialization as indicated by the new "connecting" state.

Fixes: 898e9d6bae ("nvme-pci: introduce RECONNECTING state to mark initializing procedure")
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c