2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/drivers/scsi/qla2xxx
Quinn Tran b0dcce746b scsi: qla2xxx: Fix abort command deadlock due to spinlock
Original code acquires hardware_lock to add Abort IOCB onto driver
request queue for processing. However, abort_command() will also acquire
hardware lock to look up sp pointer before issuing abort IOCB command
resulting into a deadlock. This patch safely removes the possible
deadlock scenario by removing extra spinlock.

Fixes: 6eb54715b5 ("qla2xxx: Added interface to send explicit LOGO.")
Cc: <stable@vger.kernel.org> # 4.10+
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-12-07 21:07:06 -05:00
..
Kconfig scsi: qla2xxx: avoid unused-function warning 2017-07-01 17:14:58 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qla_attr.c Merge branch 'fixes' into misc 2017-09-07 12:12:43 -07:00
qla_bsg.c scsi: qla2xxx: don't break the bsg-lib abstractions 2017-10-16 23:46:21 -04:00
qla_bsg.h qla2xxx: Add bsg interface to support statistics counter reset. 2016-07-15 15:35:37 -04:00
qla_dbg.c scsi: qla2xxx: Remove potential macro parameter side-effect in ql_dump_regs() 2017-08-24 22:29:28 -04:00
qla_dbg.h scsi: qla2xxx: Include Exchange offload/Extended Login into FW dump 2017-06-27 21:21:41 -04:00
qla_def.h scsi: qla2xxx: Fix Relogin being triggered too fast 2017-12-07 21:07:05 -05:00
qla_devtbl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qla_dfs.c scsi: qla2xxx: Move target stat counters from vha to qpair. 2017-06-27 21:21:41 -04:00
qla_fw.h scsi: qla2xxx: Changes to support N2N logins 2017-10-16 23:02:20 -04:00
qla_gbl.h SCSI misc on 20171114 2017-11-14 16:23:44 -08:00
qla_gs.c scsi: qla2xxx: Relogin to target port on a cable swap 2017-12-07 21:07:04 -05:00
qla_init.c scsi: qla2xxx: Relogin to target port on a cable swap 2017-12-07 21:07:04 -05:00
qla_inline.h scsi: qla2xxx: Convert timers to use timer_setup() 2017-11-08 15:51:35 -08:00
qla_iocb.c scsi: qla2xxx: Fix abort command deadlock due to spinlock 2017-12-07 21:07:06 -05:00
qla_isr.c scsi: qla2xxx: Serialize GPNID for multiple RSCN 2017-12-07 21:07:03 -05:00
qla_mbx.c scsi: qla2xxx: Fix PRLI state check 2017-12-07 21:07:06 -05:00
qla_mid.c scsi: qla2xxx: Fix Relogin being triggered too fast 2017-12-07 21:07:05 -05:00
qla_mr.c scsi: qla2xxx: don't break the bsg-lib abstractions 2017-10-16 23:46:21 -04:00
qla_mr.h
qla_nvme.c qla2xxx: remove use of FC-specific error codes 2017-09-25 08:56:05 -06:00
qla_nvme.h scsi: qla2xxx: Move function prototype to correct header 2017-08-07 14:04:02 -04:00
qla_nx2.c scsi: qla2xxx: fix a bunch of typos and spelling mistakes 2017-07-01 17:12:31 -04:00
qla_nx2.h qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_nx.c scsi: qla2xxx: fix a bunch of typos and spelling mistakes 2017-07-01 17:12:31 -04:00
qla_nx.h scsi: qla2xxx: remove writeq/readq function definitions 2017-06-12 20:48:08 -04:00
qla_os.c scsi: qla2xxx: Fix Relogin being triggered too fast 2017-12-07 21:07:05 -05:00
qla_settings.h
qla_sup.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
qla_target.c scsi: qla2xxx: Relogin to target port on a cable swap 2017-12-07 21:07:04 -05:00
qla_target.h scsi: qla2xxx: Cleanup NPIV host in target mode during config teardown 2017-08-24 22:29:30 -04:00
qla_tmpl.c Merge branch 'fixes' into misc 2017-09-07 12:12:43 -07:00
qla_tmpl.h
qla_version.h scsi: qla2xxx: Update driver version to 10.00.00.02-k 2017-10-16 23:02:52 -04:00
tcm_qla2xxx.c qla2xxx: Fix incorrect tcm_qla2xxx_free_cmd use during TMR ABORT (v2) 2017-07-30 16:48:43 -07:00
tcm_qla2xxx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00