PATCH [12/15] qla2xxx: RIO/ZIO fixes
Subsystems (2)
ChangeSet
1.1933 04/04/30 15:24:16 [email protected] +1 -0 RIO/ZIO fixes:
o Reduce register access during RIO operation by checking for a 'dirtied' signature.
o Fix problem where ZIO mode handling could result in a nasty recursive call-frame.
drivers/scsi/qla2xxx/qla_os.c | 5 +---- 1 files changed, 1 insertion(+), 4 deletions(-)
drivers/scsi/qla2xxx/qla_os.c +1 -4
@@ -837,7 +837,7 @@device_reg_t *reg; reg = ha->iobase; -if (RD_REG_WORD (ISP_RSP_Q_IN (ha, reg)) != ha->rsp_ring_index) { +if (ha->response_ring_ptr->signature !=RESPONSE_PROCESSED ) {spin_lock_irqsave (&ha->hardware_lock, flags);qla2x00_process_response_queue (ha);spin_unlock_irqrestore (&ha->hardware_lock, flags);
@@ -4243,9 +4243,6 @@spin_lock_irqsave (&ha->hardware_lock,flags);qla2x00_process_response_queue (ha);spin_unlock_irqrestore (&ha->hardware_lock, flags); - -if (!list_empty (&ha->done_queue)) -qla2x00_done (ha); }/*