Skip to content

Commit e601d77

Browse files
Armen BaloyanJames Bottomley
authored andcommitted
[SCSI] qla2xxx: Perform warm reset every 2 minutes if firmware load fails for ISPFX00.
Signed-off-by: Armen Baloyan <armen.baloyan@qlogic.com> Acked-by: Srinivasa Rao <srinivasa.rao@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
1 parent b6511d9 commit e601d77

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎drivers/scsi/qla2xxx/qla_mr.c‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,6 +1606,14 @@ qlafx00_abort_isp(scsi_qla_host_t *vha)
16061606

16071607
scsi_block_requests(vha->host);
16081608
qlafx00_abort_isp_cleanup(vha);
1609+
} else {
1610+
scsi_block_requests(vha->host);
1611+
clear_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
1612+
vha->qla_stats.total_isp_aborts++;
1613+
ha->isp_ops->reset_chip(vha);
1614+
set_bit(FX00_RESET_RECOVERY, &vha->dpc_flags);
1615+
/* Clear the Interrupts */
1616+
QLAFX00_CLR_INTR_REG(ha, QLAFX00_HST_INT_STS_BITS);
16091617
}
16101618

16111619
ql_log(ql_log_info, vha, 0x0145,

0 commit comments

Comments
 (0)