android_kernel_xiaomi_sm8350/drivers/scsi/qla2xxx
andrew.vasquez@qlogic.com 5998983113 [SCSI] qla2xxx: Correct excessive delay during LOAD-RISC-RAM mailbox command.
Problem report (against 2.4.x driver) from Jeff Layton
<jlayton@redhat.com>:

An OEM noticed that the U6 qla2200 driver would hang for
around 2 minutes at boot time and then proceed normally. I
found that the delay was occurring when loading the new
firmware into the card, and was due to a
schedule_timeout(10) added to the bottom of the polling
loop.

Some testing showed that the load ram operation on the card
was very quick (on the order of a couple of jiffies), but
the sleep in the polling loop was making each operation take
around 25-30.

The attached patch corrects this by making it skip sleeping
during the load ram operation, since I believe we only do
that when the module is plugged in. It also skips sleeping
if the mbox_int flag got set during the current loop.

This corrected the hang on my test setup, and OEM also
confirmed that it corrected the problem for them.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-01-14 10:55:28 -06:00
..
Kconfig [SCSI] qla2xxx: Kconfig: two fixes 2006-01-12 11:46:19 -06:00
Makefile [SCSI] qla2xxx: Kconfig: two fixes 2006-01-12 11:46:19 -06:00
ql2100_fw.c [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
ql2100.c [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
ql2200_fw.c [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
ql2200.c [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
ql2300_fw.c [SCSI] qla2xxx: Resync with latest released ISP23xx/63xx firmware -- 3.03.18. 2005-10-28 12:14:43 -05:00
ql2300.c [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
ql2322_fw.c [SCSI] qla2xxx: Resync with latest released ISP23xx/63xx firmware -- 3.03.18. 2005-10-28 12:14:43 -05:00
ql2322.c [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
ql2400_fw.c [SCSI] qla2xxx: Resync with latest released ISP24xx firmware -- 4.00.16. 2005-12-13 18:11:23 -07:00
ql2400.c [SCSI] qla2xxx: Add support for embedded ISP24xx firmware. 2005-12-13 18:11:19 -07:00
ql6312_fw.c [SCSI] qla2xxx: Resync with latest released ISP23xx/63xx firmware -- 3.03.18. 2005-10-28 12:14:43 -05:00
ql6312.c [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
qla_attr.c [SCSI] qla2xxx: Reference proper node/port names in fc_host class. 2006-01-14 10:55:23 -06:00
qla_dbg.c [SCSI] qla2xxx: Correct ISP24xx soft-reset handling. 2005-11-09 16:19:23 -05:00
qla_dbg.h [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
qla_def.h Merge by hand (conflicts in scsi_lib.c) 2005-12-15 17:35:24 -06:00
qla_devtbl.h [SCSI] qla2xxx: NVRAM id-list updates. 2005-07-14 11:02:48 -04:00
qla_fw.h [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
qla_gbl.h [SCSI] qla2xxx: Add full firmware(-request) hotplug support for all ISPs. 2005-12-13 18:11:16 -07:00
qla_gs.c [SCSI] qla2xxx: Correct FC4 feature assignment during RFF_ID. 2006-01-14 10:55:24 -06:00
qla_init.c Merge by hand (conflicts in scsi_lib.c) 2005-12-15 17:35:24 -06:00
qla_inline.h [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
qla_iocb.c [SCSI] qla2xxx: fix unnecessary activation of blk tag queue 2005-10-28 14:41:19 -05:00
qla_isr.c [SCSI] qla2xxx: Drop noisy 'UNDERRUN' status message. 2006-01-14 10:55:26 -06:00
qla_mbx.c [SCSI] qla2xxx: Correct excessive delay during LOAD-RISC-RAM mailbox command. 2006-01-14 10:55:28 -06:00
qla_os.c [SCSI] qla2xxx: fix compile error caused by pci_dev.owner move 2005-12-13 18:12:07 -07:00
qla_rscn.c [SCSI] update fc_transport for removal of block/unblock functions 2005-10-28 21:20:07 -05:00
qla_settings.h [SCSI] qla2xxx: Update license. 2005-10-28 11:53:23 -05:00
qla_sup.c [SCSI] qla2xxx: Correct additional posting issues during NVRAM accesses. 2005-11-09 16:17:25 -05:00
qla_version.h [SCSI] qla2xxx: Update version number to 8.01.03-k. 2005-11-09 16:19:44 -05:00