]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mpt3sas: Don't call disable_irq from IRQ poll handler
authorTomas Henzl <thenzl@redhat.com>
Tue, 1 Sep 2020 14:50:26 +0000 (16:50 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 3 Sep 2020 02:36:05 +0000 (22:36 -0400)
commit87c95bb6569d595b5459a72b47b9574a8fafb510
tree5232c93e8eb85c1cc22f4c028f87a987bdad4bf2
parent4b1f76eca96fd91e92dc8e86ea57689ed3c788ad
scsi: mpt3sas: Don't call disable_irq from IRQ poll handler

disable_irq() might sleep, replace it with disable_irq_nosync(). For
synchronisation 'irq_poll_scheduled' is sufficient

Fixes: b0a75dc953 scsi: mpt3sas: Irq poll to avoid CPU hard lockups
Link: https://lore.kernel.org/r/20200901145026.12174-1-thenzl@redhat.com
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c