scsi: megaraid_sas: Don't call disable_irq from process IRQ poll
authorTomas Henzl <thenzl@redhat.com>
Thu, 27 Aug 2020 16:53:32 +0000 (18:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2020 11:55:28 +0000 (13:55 +0200)
commit40158298158da2e26c7b12d2d6ca01d3798ad32f
tree2b2ee9f7ea076c4ffbaddc4f64f3d900ddea6547
parent1398cf27e62ff0bd9abdb8d694c132bad6339c1f
scsi: megaraid_sas: Don't call disable_irq from process IRQ poll

[ Upstream commit d2af39141eea34ef651961e885f49d96781a1016 ]

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