Files
twx-linux/drivers/acpi
Rafael J. Wysocki 56d9ac7436 ACPI: bus: Ensure that notify handlers are not running after removal
[ Upstream commit faae443738 ]

Currently, acpi_device_remove_notify_handler() may return while the
notify handler being removed is still running which may allow the
module holding that handler to be torn down prematurely.

Address this issue by making acpi_device_remove_notify_handler() wait
for the handling of all the ACPI events in progress to complete before
returning.

Fixes: 5894b0c46e ("ACPI / scan: Move bus operations and notification routines to bus.c")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:17:10 +09:00
..
2022-10-03 20:09:22 +02:00
2022-12-15 18:38:22 +01:00
2022-11-10 20:21:35 +01:00
2022-09-30 20:05:16 +02:00
2023-01-19 13:52:05 -08:00
2022-12-30 18:39:09 +01:00
2022-10-03 20:09:22 +02:00