scsi: mpt3sas: Don't call disable_irq from IRQ poll handler
Subsystems (2)
PATCH 1/1 scsi: mpt3sas: Don't call disable_irq from IRQ poll handler
disable_irq might sleep, replace it with disable_irq_nosync, for synchronisation is the 'irq_poll_scheduled' sufficient
Fixes 320e77acb3 scsi: mpt3sas: Irq poll to avoid CPU hard lockups
Signed-off-by Tomas Henzl <[email protected]>
--- drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/mpt3sas/mpt3sas_base.c +1 -1
@@ -1732,7 +1732,7 @@ _base_irqpoll(struct irq_poll *irqpoll, int budget) reply_q = container_of(irqpoll, struct adapter_reply_queue, irqpoll);if (reply_q->irq_line_enable) { -disable_irq (reply_q->os_irq); +disable_irq_nosync (reply_q->os_irq); reply_q->irq_line_enable = false; } num_entries =_base_process_reply_queue (reply_q);
Signature · 1 line
2.25.4
Martin K. Petersen
AppliedQuoted 4 lines · Tomas Henzl
disable_irqmight sleep, replace it withdisable_irq_nosync, for synchronisation is the 'irq_poll_scheduled' sufficientFixes 320e77acb3 scsi: mpt3sas: Irq poll to avoid CPU hard lockups
Applied to 5.9/scsi-fixes, thanks!
[1/1] scsi: mpt3sas: Don't call disable_irq from IRQ poll handler
https://git.kernel.org/mkp/scsi/c/b614d55b970d
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering