diff options
author | Tomas Henzl <thenzl@redhat.com> | 2020-09-10 16:21:26 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-16 00:36:50 +0200 |
commit | 45181eab8ba79ed7a41b549f00500c0093828521 (patch) | |
tree | 4ae7cfd9b4ad622d783be89718aa209a372321fd /fs/namei.c | |
parent | scsi: mpt3sas: Detect tampered Aero and Sea adapters (diff) | |
download | linux-45181eab8ba79ed7a41b549f00500c0093828521.tar.xz linux-45181eab8ba79ed7a41b549f00500c0093828521.zip |
scsi: mpt3sas: Fix sync irqs
_base_process_reply_queue() called from _base_interrupt() may schedule a
new irq poll. Fix this by calling synchronize_irq() first.
Also ensure that enable_irq() is called only when necessary to avoid
"Unbalanced enable for IRQ..." errors.
Link: https://lore.kernel.org/r/20200910142126.8147-1-thenzl@redhat.com
Fixes: 320e77acb327 ("scsi: mpt3sas: Irq poll to avoid CPU hard lockups")
Acked-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions