linux-stable/drivers/scsi/qla2xxx
Chad Dupuis 8fbfe2d214 [SCSI] qla2xxx: Do not query FC statistics during chip reset.
During a chip reset, the mailbox call to get FC statistics from the ISP will
not work resulting in needless mailbox accesses and errors printing out:

qla2xxx [0000:05:00.0]-00af:11: Performing ISP error recovery - ha=ffff881fad044800.
qla2xxx [0000:05:00.0]-1020:11: **** Failed mbx[0]=4001, mb[1]=4953, mb[2]=5020, mb[3]=b100, cmd=6d ****.
qla2xxx [0000:05:00.0]-1020:11: **** Failed mbx[0]=4001, mb[1]=4953, mb[2]=5020, mb[3]=b100, cmd=6d ****.
qla2xxx [0000:05:00.0]-1020:11: **** Failed mbx[0]=4001, mb[1]=4953, mb[2]=5020, mb[3]=b100, cmd=6d ****.
qla2xxx [0000:05:00.0]-1020:11: **** Failed mbx[0]=4001, mb[1]=4953, mb[2]=5020, mb[3]=b100, cmd=6d ****.
qla2xxx [0000:05:00.0]-1020:11: **** Failed mbx[0]=4001, mb[1]=4953, mb[2]=5020, mb[3]=b100, cmd=6d ****.

To prevent this, check for a chip reset when an application queries for FC
stats and return immediately if a chip reset is occurring.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-07-08 17:19:32 +01:00
..
Kconfig [SCSI] qla2xxx: Update firmware link in Kconfig file. 2013-05-10 07:47:53 -07:00
Makefile [SCSI] qla2xxx: Enhancements to support ISPFx00. 2013-04-11 15:42:04 -07:00
qla_attr.c [SCSI] qla2xxx: Do not query FC statistics during chip reset. 2013-07-08 17:19:32 +01:00
qla_bsg.c [SCSI] qla2xxx: Set the index in outstanding command array to NULL when cmd is aborted when the request timeout. 2013-07-08 17:16:29 +01:00
qla_bsg.h [SCSI] qla2xxx: Enhancements to support ISPFx00. 2013-04-11 15:42:04 -07:00
qla_dbg.c [SCSI] qla2xxx: Clear the MBX_INTR_WAIT flag when the mailbox time-out happens. 2013-07-08 17:10:50 +01:00
qla_dbg.h [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_def.h [SCSI] qla2xxx: Obtain loopback iteration count from bsg request. 2013-04-11 15:48:42 -07:00
qla_devtbl.h
qla_dfs.c [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_fw.h [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_gbl.h [SCSI] qla2xxx: Enhancements to support ISPFx00. 2013-04-11 15:42:04 -07:00
qla_gs.c [SCSI] qla2xxx: Enhancements to support ISPFx00. 2013-04-11 15:42:04 -07:00
qla_init.c [SCSI] qla2xxx: Enhancements to support ISPFx00. 2013-04-11 15:42:04 -07:00
qla_inline.h [SCSI] qla2xxx: Fix for locking issue between driver ISR and mailbox routines 2013-05-12 12:51:15 -07:00
qla_iocb.c [SCSI] qla2xxx: Enhancements to support ISPFx00. 2013-04-11 15:42:04 -07:00
qla_isr.c [SCSI] qla2xxx: Fix for locking issue between driver ISR and mailbox routines 2013-05-12 12:51:15 -07:00
qla_mbx.c [SCSI] qla2xxx: Clear the MBX_INTR_WAIT flag when the mailbox time-out happens. 2013-07-08 17:10:50 +01:00
qla_mid.c [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_mr.c [SCSI] qla2xxx: Fix for locking issue between driver ISR and mailbox routines 2013-05-12 12:51:15 -07:00
qla_mr.h [SCSI] qla2xxx: Enhancements to support ISPFx00. 2013-04-11 15:42:04 -07:00
qla_nx.c [SCSI] qla2xxx: Fix for locking issue between driver ISR and mailbox routines 2013-05-12 12:51:15 -07:00
qla_nx.h [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_os.c [SCSI] qla2xxx: Move qla2x00_free_device to the correct location. 2013-07-08 17:16:51 +01:00
qla_settings.h [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_sup.c [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_target.c qla2xxx: Remove unused function 2013-04-25 01:05:23 -07:00
qla_target.h qla2xxx: Remove unused function 2013-04-25 01:05:23 -07:00
qla_version.h [SCSI] qla2xxx: Update the driver version to 8.05.00.03-k. 2013-04-11 15:49:41 -07:00
tcm_qla2xxx.c tcm_qla2xxx: Fix residual for underrun commands that fail 2013-06-14 01:12:56 -07:00
tcm_qla2xxx.h tcm_qla2xxx: Format VPD page 83h SCSI name string according to SPC 2012-10-26 12:29:46 -07:00