diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-06-11 16:40:53 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-06-20 04:02:25 +0200 |
commit | b3a8aa90c46095cbad454eb068bfb5a8eb56d4e3 (patch) | |
tree | 63352fa0a2193c07052d0ac46962fdfa0d2c898b /drivers/scsi/sg.c | |
parent | scsi: core: remove Scsi_Cmnd typedef (diff) | |
download | linux-b3a8aa90c46095cbad454eb068bfb5a8eb56d4e3.tar.xz linux-b3a8aa90c46095cbad454eb068bfb5a8eb56d4e3.zip |
scsi: qla2xxx: remove irq save in qla2x00_poll()
In commit d2ba5675d899 ("[SCSI] qla2xxx: Disable local-interrupts while
polling for RISC status.") added a local_irq_disable() before invoking the
->intr_handler callback. The function, which was used in this callback, did
not disable interrupts while acquiring the spin_lock so a deadlock was
possible and this change was one possible solution.
The function in question was qla2300_intr_handler() and is using
spin_lock_irqsave() since commit 43fac4d97a1a ("[SCSI] qla2xxx: Resolve a
performance issue in interrupt"). I checked all other ->intr_handler
callbacks and all of them use the irqsave variant so it is safe to remove
the local_irq_save() block now.
Cc: qla2xxx-upstream@qlogic.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sg.c')
0 files changed, 0 insertions, 0 deletions