linux_dsm_epyc7002/drivers/nvme/host
Keith Busch 72cd4cc28e nvme-pci: Fix AER reset handling
The nvme timeout handling doesn't do anything if the pci channel is
offline, which is the case when recovering from PCI error event, so it
was a bad idea to sync the controller reset in this state. This patch
flushes the reset work in the error_resume callback instead when the
channel is back to online. This keeps AER handling serialized and
can recover from timeouts.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=199757
Fixes: cc1d5e749a ("nvme/pci: Sync controller reset for AER slot_reset")
Reported-by: Alex Gagniuc <mr.nuke.me@gmail.com>
Tested-by: Alex Gagniuc <mr.nuke.me@gmail.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2018-05-25 16:50:12 +02:00
..
core.c nvme: host: core: fix precedence of ternary operator 2018-05-23 09:11:37 -06:00
fabrics.c nvme: fix potential memory leak in option parsing 2018-05-03 09:37:50 -06:00
fabrics.h nvme: expand nvmf_check_if_ready checks 2018-04-12 09:58:27 -06:00
fault_inject.c nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
fc.c nvme: fc: provide a descriptive error 2018-04-26 13:25:58 -06:00
Kconfig nvme: depend on INFINIBAND_ADDR_TRANS 2018-04-27 11:15:43 -04:00
lightnvm.c lightnvm: remove function name in strings 2018-03-29 17:29:09 -06:00
Makefile nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
multipath.c nvme/multipath: Fix multipath disabled naming collisions 2018-05-03 09:37:50 -06:00
nvme.h nvme: fix lockdep warning in nvme_mpath_clear_current_path 2018-05-23 08:58:27 -06:00
pci.c nvme-pci: Fix AER reset handling 2018-05-25 16:50:12 +02:00
rdma.c nvme: expand nvmf_check_if_ready checks 2018-04-12 09:58:27 -06:00
trace.c nvme: add tracepoint for nvme_setup_cmd 2018-01-26 12:34:40 +01:00
trace.h nvme: change order of qid and cmdid in completion trace 2018-04-26 13:30:08 -06:00