Skip to content

Commit d2af391

Browse files
thenzlmartinkpetersen
authored andcommitted
scsi: megaraid_sas: Don't call disable_irq from process IRQ poll
disable_irq() might sleep. Replace it with disable_irq_nosync() which is sufficient as irq_poll_scheduled protects against concurrently running complete_cmd_fusion() from megasas_irqpoll() and megasas_isr_fusion(). Link: https://lore.kernel.org/r/20200827165332.8432-1-thenzl@redhat.com Fixes: a6ffd5b scsi: megaraid_sas: Call disable_irq from process IRQ poll Signed-off-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent ed43ffe commit d2af391

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/scsi/megaraid/megaraid_sas_fusion.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3689,7 +3689,7 @@ int megasas_irqpoll(struct irq_poll *irqpoll, int budget)
36893689
instance = irq_ctx->instance;
36903690

36913691
if (irq_ctx->irq_line_enable) {
3692-
disable_irq(irq_ctx->os_irq);
3692+
disable_irq_nosync(irq_ctx->os_irq);
36933693
irq_ctx->irq_line_enable = false;
36943694
}
36953695

0 commit comments

Comments
 (0)