diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-07-11 13:20:04 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-07-15 16:13:56 +0300 |
commit | c37927a203fa283950f6045602b9f71328ad786c (patch) | |
tree | e86370e47faaa4957dc1d66e2e4fced61ca1b2dc /include/linux/kvm_dirty_ring.h | |
parent | 33b1c47d1fc0b5f06a393bb915db85baacba18ea (diff) | |
download | linux-c37927a203fa283950f6045602b9f71328ad786c.tar.xz |
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 <stefan.seyfried@googlemail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Stefan Seyfried <stefan.seyfried@googlemail.com>
Cc: stable@vger.kerel.org
Link: https://lore.kernel.org/r/5800834.DvuYhMxLoT@rjwysocki.net
Closes: https://lore.kernel.org/lkml/205bd84a-fe8e-4963-968e-0763285f35ba@message-id.googlemail.com
Diffstat (limited to 'include/linux/kvm_dirty_ring.h')
0 files changed, 0 insertions, 0 deletions