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: 17e5fc58588b ("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
..
2017-02-22 11:44:32 -08:00
2017-02-22 10:30:38 -08:00
2017-02-20 14:23:40 +01:00
2017-02-22 10:46:44 -08:00
2017-02-20 16:42:43 -08:00
2017-02-21 16:58:32 -08:00
2017-02-21 11:51:42 -08:00
2017-02-21 12:04:54 -08:00
2017-02-21 10:57:33 -08:00
2017-02-22 11:44:32 -08:00
2017-02-22 11:15:59 -08:00
2017-01-25 16:11:55 +00:00
2017-02-20 17:23:57 -08:00
2017-01-30 14:39:20 +01:00
2017-02-20 17:55:15 -08:00
2017-02-20 14:22:50 +01:00
2017-02-14 10:20:35 -08:00
2017-02-22 11:15:59 -08:00
2017-02-20 16:42:43 -08:00
2017-02-11 20:59:41 -05:00