2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-27 08:05:27 +08:00
linux-next/drivers/scsi/qla4xxx
Vikas Chaudhary 5c19b92ae8 [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX
Issue:
Mailbox command timed out after switching from polling mode to interrupt mode.

Events:-
 1. Mailbox interrupts are disabled
 2. FW generates AEN and at same time driver enables Mailbox Interrupt
 3. Driver issues new mailbox to Firmware

In above case driver will not get AEN interrupts generated by FW in step #2 as
FW generated this AEN when interrupts are disabled. During the same time
driver enabled the mailbox interrupt, so driver will not poll for interrupt.
Driver will never process AENs generated in step #2 and issues new mailbox to
FW, but now FW is not able to post mailbox completion as AENs generated before
are not processed by driver.

Fix:
Enable Mailbox / AEN interrupts before initializing FW in case of ISP83XX.
This will make sure we process all Mailbox and AENs in interrupt mode.

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-01-29 13:55:06 +11:00
..
Kconfig [SCSI] qla4xxx: Added support for ISP83XX 2012-09-24 12:11:08 +04:00
Makefile [SCSI] qla4xxx: Added support for ISP83XX 2012-09-24 12:11:08 +04:00
ql4_83xx.c [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_83xx.h [SCSI] qla4xxx: Disable generating pause frames for ISP83XX 2012-09-24 12:49:00 +04:00
ql4_attr.c [SCSI] qla4xxx: Added support for ISP83XX 2012-09-24 12:11:08 +04:00
ql4_bsg.c [SCSI] qla4xxx: Added Get ACB support using BSG 2011-08-27 08:36:44 -06:00
ql4_bsg.h [SCSI] qla4xxx: Added Get ACB support using BSG 2011-08-27 08:36:44 -06:00
ql4_dbg.c [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_dbg.h [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_def.h [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_fw.h [SCSI] qla4xxx: IDC implementation for Loopback 2012-09-24 12:41:53 +04:00
ql4_glbl.h [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_init.c [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_inline.h [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_iocb.c [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_isr.c [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_mbx.c [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_nvram.c [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_nvram.h [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_nx.c [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_nx.h [SCSI] qla4xxx: Update Copyright header 2012-09-24 12:11:08 +04:00
ql4_os.c [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX 2013-01-29 13:55:06 +11:00
ql4_version.h [SCSI] qla4xxx: Update driver version to 5.03.00-k1 2012-09-24 12:49:47 +04:00