]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 3 Sep 2020 01:59:44 +0000 (21:59 -0400)
commitd3283932335d8c09abd0c1bcd1250964e8d1fde7
tree73fc79354cdd100ce16193138cf9b3caa1feb222
parentdfbbf1ef6ea6c858bcb9ebed18ad263e40c84bb2
scsi: megaraid_sas: Don't call disable_irq from process IRQ poll

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: c272854873f 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>
drivers/scsi/megaraid/megaraid_sas_fusion.c