linux/drivers/scsi/elx
Sebastian Andrzej Siewior fb7481344f scsi: efct: Use IRQF_ONESHOT and default primary handler
[ Upstream commit bd81f07e9a ]

There is no added value in efct_intr_msix() compared to
irq_default_primary_handler().

Using a threaded interrupt without a dedicated primary handler mandates
the IRQF_ONESHOT flag to mask the interrupt source while the threaded
handler is active. Otherwise the interrupt can fire again before the
threaded handler had a chance to run.

Use the default primary interrupt handler by specifying NULL and set
IRQF_ONESHOT so the interrupt source is masked until the secondary
handler is done.

Fixes: 4df84e8466 ("scsi: elx: efct: Driver initialization routines")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260128095540.863589-8-bigeasy@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-03-04 07:19:39 -05:00
..
efct scsi: efct: Use IRQF_ONESHOT and default primary handler 2026-03-04 07:19:39 -05:00
include scsi: elx: libefc_sli: Queue create/destroy/parse routines 2021-06-15 23:39:29 -04:00
libefc scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del() 2024-08-22 21:08:44 -04:00
libefc_sli scsi: elx: sli4: Remove code duplication 2023-08-21 17:13:56 -04:00
Kconfig scsi: elx: efct: Add Makefile and Kconfig for efct driver 2021-06-15 23:39:33 -04:00
Makefile scsi: elx: efct: Add Makefile and Kconfig for efct driver 2021-06-15 23:39:33 -04:00