linux/drivers/scsi/qla2xxx
Michael Hernandez 67f2db8792 scsi: qla2xxx: Fix Regression introduced by pci_alloc_irq_vectors_affinity call.
For target mode, we need to increase minimum vectors value by one to
account for ATIO queue.

Following stack trace will be seen

Call Trace:
qla24xx_config_rings+0x15a/0x230 [qla2xxx]
qla2x00_init_rings+0x1a1/0x3a0 [qla2xxx]
qla2x00_restart_isp+0x5c/0x120 [qla2xxx]
qla2x00_abort_isp+0x138/0x430 [qla2xxx]
? __schedule+0x260/0x580
qla2x00_do_dpc+0x3bc/0x920 [qla2xxx]
? qla2x00_relogin+0x290/0x290 [qla2xxx]
? schedule+0x3a/0xa0
? qla2x00_relogin+0x290/0x290 [qla2xxx]
kthread+0x103/0x140
? __kthread_init_worker+0x40/0x40
ret_from_fork+0x29/0x40

RIP: qlt_24xx_config_rings+0x6c/0x90

[mkp: fixed Fixes: hash]

Cc: <stable@vger.kernel.org>
Fixes: 17e5fc5858 ("scsi: qla2xxx: fix MSI-X vector affinity")
Signed-off-by: Michael Hernandez <michael.hernandez@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-02-22 19:00:17 -05:00
..
Kconfig tcm_qla2xxx Add SCSI command jammer/discard capability 2016-05-10 01:27:17 -07:00
Makefile
qla_attr.c Merge branch 'scsi-target-for-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/bvanassche/linux 2017-01-20 14:17:04 -08:00
qla_bsg.c block: split scsi_request out of struct request 2017-01-27 15:08:35 -07: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: Add multiple queue pair functionality. 2016-12-14 15:37:58 -05:00
qla_dbg.h qla2xxx: Change copyright year to 2014 in all the source files. 2014-05-19 13:31:02 +02:00
qla_def.h SCSI misc on 20170220 2017-02-21 11:51:42 -08:00
qla_devtbl.h
qla_dfs.c qla2xxx: Add DebugFS node for target sess list. 2016-03-10 21:48:27 -08:00
qla_fw.h qla2xxx: Fix BBCR offset 2016-07-15 15:35:51 -04:00
qla_gbl.h scsi: qla2xxx: Add multiple queue pair functionality. 2016-12-14 15:37:58 -05:00
qla_gs.c scsi: qla2xxx: rename {vendor|hba}_indentifer to {vendor|hba}_identifer 2017-01-09 23:25:19 -05:00
qla_init.c qla2xxx: Reduce exess wait during chip reset 2017-01-17 11:26:57 -08:00
qla_inline.h scsi: qla2xxx: Add multiple queue pair functionality. 2016-12-14 15:37:58 -05:00
qla_iocb.c scsi: qla2xxx: Add multiple queue pair functionality. 2016-12-14 15:37:58 -05:00
qla_isr.c scsi: qla2xxx: Fix Regression introduced by pci_alloc_irq_vectors_affinity call. 2017-02-22 19:00:17 -05:00
qla_mbx.c qla2xxx: Collect additional information to debug fw dump 2017-01-17 11:26:55 -08:00
qla_mid.c scsi: qla2xxx: Add multiple queue pair functionality. 2016-12-14 15:37:58 -05:00
qla_mr.c block: split scsi_request out of struct request 2017-01-27 15:08:35 -07:00
qla_mr.h qla2xxx: Adjust adapter reset routine to the changes in firmware specification for ISPFx00. 2014-05-19 13:31:03 +02:00
qla_nx2.c qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08: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 qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_nx.h qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_os.c scsi: qla2xxx: Fix response queue count for Target mode. 2017-02-22 19:00:17 -05:00
qla_settings.h qla2xxx: Change copyright year to 2014 in all the source files. 2014-05-19 13:31:02 +02:00
qla_sup.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
qla_target.c qla2xxx: Disable out-of-order processing by default in firmware 2017-01-17 11:26:58 -08:00
qla_target.h qla2xxx: Terminate exchange if corrupted 2017-01-17 11:26:56 -08:00
qla_tmpl.c qla2xxx: Include ATIO queue in firmware dump when in target mode 2017-01-17 11:26:53 -08:00
qla_tmpl.h qla2xxx: ISP27xx fwdump template error print simplification. 2014-09-25 14:25:02 +02:00
qla_version.h qla2xxx: Update driver version to 8.07.00.38-k 2016-07-15 15:35:52 -04:00
tcm_qla2xxx.c Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-02-20 13:23:30 -08:00
tcm_qla2xxx.h qla2xxx: Set tcm_qla2xxx version to automatically track qla2xxx version 2017-01-17 11:26:54 -08:00