]> git.ipfire.org Git - thirdparty/linux.git/commit
perf/cxlpmu: Replace IRQF_ONESHOT with IRQF_NO_THREAD
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 28 Jan 2026 09:55:34 +0000 (10:55 +0100)
committerWill Deacon <will@kernel.org>
Wed, 28 Jan 2026 13:06:03 +0000 (13:06 +0000)
commitab26d9c85554c4ff1d95ca8341522880ed9219d6
treeaab9b25adc096dfef6f11d3d00af9e5b01fa69b0
parent79448fa1f495c3e3b7119e53bedc3cce273aa95f
perf/cxlpmu: Replace IRQF_ONESHOT with IRQF_NO_THREAD

Passing IRQF_ONESHOT ensures that the interrupt source is masked until
the secondary (threaded) handler is done. If only a primary handler is
used then the flag makes no sense because the interrupt can not fire
(again) while its handler is running.
The flag also disallows force-threading of the primary handler and the
irq-core will warn about this.

The intention here was probably not allowing forced-threading.

Replace IRQF_ONESHOT with IRQF_NO_THREAD.

Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/cxl_pmu.c