Re: [PATCH 1/2] driver core / ACPI: Avoid device hot remove locking issues

2013-08-28 Thread Gu Zheng
On 08/28/2013 09:48 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > device_hotplug_lock is held around the acpi_bus_trim() call in > acpi_scan_hot_remove() which generally removes devices (it removes > ACPI device objects at least, but it may also remove "physical" > device objects th

Re: [PATCH 1/2] driver core / ACPI: Avoid device hot remove locking issues

2013-08-28 Thread Greg Kroah-Hartman
On Wed, Aug 28, 2013 at 03:48:11PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > device_hotplug_lock is held around the acpi_bus_trim() call in > acpi_scan_hot_remove() which generally removes devices (it removes > ACPI device objects at least, but it may also remove "physical" >

[PATCH 1/2] driver core / ACPI: Avoid device hot remove locking issues

2013-08-28 Thread Rafael J. Wysocki
From: Rafael J. Wysocki device_hotplug_lock is held around the acpi_bus_trim() call in acpi_scan_hot_remove() which generally removes devices (it removes ACPI device objects at least, but it may also remove "physical" device objects through .detach() callbacks of ACPI scan handlers). Thus, potent