Messages in this thread |  | | From | "Rafael J. Wysocki" <> | Subject | [PATCH 0/2] ACPI / scan: Two fixes for device hot-removal | Date | Sat, 09 Feb 2013 15:26 +0100 |
| |
Hi,
The following two patches fix issues I've found revently in the ACPI device hot-removal code.
Patch [1/2] makes acpi_bus_hot_remove_device() hold acpi_scan_lock around the whole removal procedure to prevent potential race condition between acpi_bus_scan() and a conflicting evaluation of _EJ0 from happening.
Patch [2/2] makes acpi_device_unregister() put devices (supporting that) into D3cold to prevent potential problems with removing power from them without preparation from happening and removes the totally wrong evaluation of _PS3 from acpi_bus_hot_remove_device().
Thanks, Rafael
-- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.
|  |