aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2024-07-11 10:20:04 +0000
committerThomas Gleixner <[email protected]>2024-07-15 13:13:56 +0000
commitc37927a203fa283950f6045602b9f71328ad786c (patch)
treee86370e47faaa4957dc1d66e2e4fced61ca1b2dc /scripts/generate_rust_analyzer.py
parentirqchip/imx-irqsteer: Handle runtime power management correctly (diff)
downloadkernel-c37927a203fa283950f6045602b9f71328ad786c.tar.gz
kernel-c37927a203fa283950f6045602b9f71328ad786c.zip
genirq: Set IRQF_COND_ONESHOT in request_irq()
The callers of request_irq() don't care about IRQF_ONESHOT because they don't provide threaded handlers, but if they happen to share the IRQ with the ACPI SCI, which has a threaded handler and sets IRQF_ONESHOT, request_irq() will fail for them due to a flags mismatch. Address this by making request_irq() add IRQF_COND_ONESHOT to the flags passed to request_threaded_irq() for all of its callers. Fixes: 7a36b901a6eb ("ACPI: OSL: Use a threaded interrupt handler for SCI") Reported-by: Stefan Seyfried <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Stefan Seyfried <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Closes: https://lore.kernel.org/lkml/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions