uio: use threaded interrupts
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Mon, 8 Apr 2024 23:40:49 +0000 (11:40 +1200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2024 12:40:29 +0000 (14:40 +0200)
commitf8a27dfa4b82d442af1c0645a5acc70cc97c67f6
treef649171f145c5bfeefcf5e96138bd8dc0ba8b206
parent90fa0280553a87d0db51dd04f1aea1c2dde53c74
uio: use threaded interrupts

Split the existing uio_interrupt into a hardirq handler and a thread
function. The hardirq handler deals with the interrupt source in
hardware, the thread function notifies userspace that there is an event
to be handled.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20240408234050.2056374-3-chris.packham@alliedtelesis.co.nz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio.c