HomeFreeBSD

acpi: Mark the GED ithread as sleepable

Description

acpi: Mark the GED ithread as sleepable

We need to complete calling the ACPI method before marking the interrupt
as complete. If two threads are inspecting the ACPI tables at the same
time they may both try to lock the ACPI mutex causing one to sleep. If
this is the ithread it will panic the kernel as this is not allowed.

Update the ged ithread to allow sleeping as it is expected this lock
will be uncommon enough any sleep will be short.

PR: 283103
Reviewed by: markj (earlier version)
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D48284

Details

Provenance
andrewAuthored on Mon, Jan 13, 5:37 AM
Reviewer
markj
Differential Revision
D48284: acpi: Mark the GED ithread as sleepable
Parents
rG0863dc10354f: ithread: Allow some ithreads to sleep
Branches
Unknown
Tags
Unknown