HomeFreeBSD

gpioaei: mark the AEI ithread as sleepable

Description

gpioaei: mark the AEI ithread as sleepable

We call an ACPICA function in the interrupt handler which may attempt to
lock a mutex. If this is done while another instance of the handler
already holds the lock, it would cause a kernel panic since sleeping
isn't allowed.

Reviewed-by: Warner Losh <imp@FreeBSD.org>
Pull-request: https://github.com/freebsd/freebsd-src/pull/1667
Signed-off-by: Ahmad Khalifa <ahmadkhalifa570@gmail.com>

Details

Provenance
ahmadkhalifa570_gmail.comAuthored on Mon, Mar 31, 3:13 PM
emasteCommitted on Mon, Apr 21, 4:28 PM
Parents
rGd6dc661c2a2d: acpi_gpiobus: mask pin flags for GPIOBUS_PIN_SETFLAGS
Branches
Unknown
Tags
Unknown