HomeFreeBSD

LinuxKPI: enhance the irq KPI for managed and threaded operations.

Description

LinuxKPI: enhance the irq KPI for managed and threaded operations.

Move request_irq() to an internal function which serves request_irq()
and the newly added request_threaded_irq() and devm_request_threaded_irq().
Likewise factor out parts of free_irq() to also be used with
devm_free_irq(). Add the storage and call to a thread_handler in case
of IRQ_WAKE_THREAD.
This is needed for the iwlwifi driver.

Sponsored by: The FreeBSD Foundation
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D30549

(cherry picked from commit d16b6cb17837162d685c960deb28f26f716fa440)

Details

Provenance
bzAuthored on May 30 2021, 1:54 PM
Reviewer
hselasky
Differential Revision
D30549: LinuxKPI: enhance the irq KPI for managed and threaded operations.
Parents
rG40a215e38a4d: LinuxKPI: extend pci.h by various functions for wireless driver
Branches
Unknown
Tags
Unknown