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)
commitb614d55b970d08bcac5b0bc15a5526181b3e4459
tree5232c93e8eb85c1cc22f4c028f87a987bdad4bf2
parentd2af39141eea34ef651961e885f49d96781a1016
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: 320e77acb3 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