]> 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)
commit4244140d7b8f406b7edfd01c050dea783aa1efc5
tree4cd5574d84e91cf301cd4b4ac81faede92708738
parent815c6704bf9f1c59f3a6be380a4032b9c57b12f1
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: ad70062cdb ("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