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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2020 11:55:28 +0000 (13:55 +0200)
commit6d1f49ae494dd133e13bbf74e8ca9b6508ed99ed
tree031375aa98af376c1a5aa45c088b325ac05a0023
parent40158298158da2e26c7b12d2d6ca01d3798ad32f
scsi: mpt3sas: Don't call disable_irq from IRQ poll handler

[ Upstream commit b614d55b970d08bcac5b0bc15a5526181b3e4459 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/mpt3sas/mpt3sas_base.c