]> 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)
commit5c8cbe5107aeaead2cbcdb8860933d6a0dba0f50
tree4cd5574d84e91cf301cd4b4ac81faede92708738
parent640dd721df47ed31eabb6be265b73c2b18e74348
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: 58b3f8919a ("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