linux-stable/drivers/scsi/qla2xxx
Quinn Tran f30b3ee9a4 scsi: qla2xxx: Delay I/O Abort on PCI error
commit 591c1fdf20 upstream.

Currently when PCI error is detected, I/O is aborted manually through the
ABORT IOCB mechanism which is not guaranteed to succeed.

Instead, wait for the OS or system to notify driver to wind down I/O
through the pci_error_handlers api.  Set eeh_busy flag to pause all traffic
and wait for I/O to drain.

Cc: stable@vger.kernel.org
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link: https://lore.kernel.org/r/20240227164127.36465-11-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-03 15:19:54 +02:00
..
Kconfig
Makefile
qla_attr.c scsi: qla2xxx: Delay I/O Abort on PCI error 2024-04-03 15:19:54 +02:00
qla_bsg.c scsi: qla2xxx: Pointer may be dereferenced 2023-07-23 13:49:49 +02:00
qla_bsg.h
qla_dbg.c scsi: qla2xxx: Remove unsupported ql2xenabledif option 2023-09-19 12:27:55 +02:00
qla_dbg.h
qla_def.h scsi: qla2xxx: Update manufacturer detail 2024-04-03 15:19:53 +02:00
qla_devtbl.h
qla_dfs.c scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir() 2023-09-23 11:11:09 +02:00
qla_dsd.h
qla_edif.c scsi: qla2xxx: Avoid fcport pointer dereference 2023-07-23 13:49:48 +02:00
qla_edif.h
qla_edif_bsg.h
qla_fw.h
qla_gbl.h scsi: qla2xxx: Fix N2N stuck connection 2024-04-03 15:19:53 +02:00
qla_gs.c
qla_init.c scsi: qla2xxx: NVME|FCP prefer flag not being honored 2024-04-03 15:19:53 +02:00
qla_inline.h scsi: qla2xxx: Fix NULL pointer dereference in target mode 2023-10-06 14:56:59 +02:00
qla_iocb.c scsi: qla2xxx: Fix double free of fcport 2024-04-03 15:19:53 +02:00
qla_isr.c scsi: qla2xxx: Fix NULL pointer dereference in target mode 2023-10-06 14:56:59 +02:00
qla_mbx.c scsi: qla2xxx: Change debug message during driver unload 2024-04-03 15:19:54 +02:00
qla_mid.c
qla_mr.c
qla_mr.h
qla_nvme.c scsi: qla2xxx: Select qpair depending on which CPU post_cmd() gets called 2023-10-06 14:56:45 +02:00
qla_nvme.h
qla_nx.c
qla_nx.h
qla_nx2.c
qla_nx2.h
qla_os.c scsi: qla2xxx: Fix N2N stuck connection 2024-04-03 15:19:53 +02:00
qla_settings.h
qla_sup.c
qla_target.c scsi: qla2xxx: Fix command flush on cable pull 2024-04-03 15:19:53 +02:00
qla_target.h
qla_tmpl.c
qla_tmpl.h
qla_version.h
tcm_qla2xxx.c scsi: qla2xxx: Use raw_smp_processor_id() instead of smp_processor_id() 2023-10-06 14:56:45 +02:00
tcm_qla2xxx.h