Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3a63d55 authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley
Browse files

[SCSI] qla2xxx: Defer explicit interrupt-polling processing to init-time scenarios.



As the intermixing may cause issues where HCCR bits could be
cleared inappropriately during MSI/MSI-X interrupt handling.

Signed-off-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 6557f3a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -525,7 +525,7 @@ qla2x00_req_pkt(scsi_qla_host_t *ha)

		/* Check for pending interrupts. */
		/* During init we issue marker directly */
		if (!ha->marker_needed)
		if (!ha->marker_needed && !ha->flags.init_done)
			qla2x00_poll(ha);

		spin_lock_irq(&ha->hardware_lock);
+1 −1
Original line number Diff line number Diff line
@@ -252,7 +252,7 @@ qla2x00_mailbox_command(scsi_qla_host_t *pvha, mbx_cmd_t *mcp)
	/* Clean up */
	ha->mcp = NULL;

	if (!abort_active) {
	if (abort_active || !io_lock_on) {
		DEBUG11(printk("%s(%ld): checking for additional resp "
		    "interrupt.\n", __func__, ha->host_no));