Re: [RFC PATCH 0/3] acpi: Introduce prepare_remove device operation

2012-11-14 Thread Rafael J. Wysocki
On Monday, November 12, 2012 06:20:47 PM Vasilis Liaskovitis wrote: > On Mon, Nov 12, 2012 at 12:00:55PM +0800, Wen Congyang wrote: > > At 11/09/2012 02:29 AM, Vasilis Liaskovitis Wrote: > > > As discussed in > > > https://patchwork.kernel.org/patch/1581581/ > > > the driver core remove function ne

Re: [RFC PATCH 0/3] acpi: Introduce prepare_remove device operation

2012-11-12 Thread Vasilis Liaskovitis
On Mon, Nov 12, 2012 at 12:00:55PM +0800, Wen Congyang wrote: > At 11/09/2012 02:29 AM, Vasilis Liaskovitis Wrote: > > As discussed in > > https://patchwork.kernel.org/patch/1581581/ > > the driver core remove function needs to always succeed. This means we need > > to know that the device can be s

Re: [RFC PATCH 0/3] acpi: Introduce prepare_remove device operation

2012-11-11 Thread Wen Congyang
At 11/09/2012 02:29 AM, Vasilis Liaskovitis Wrote: > As discussed in > https://patchwork.kernel.org/patch/1581581/ > the driver core remove function needs to always succeed. This means we need > to know that the device can be successfully removed before acpi_bus_trim / > acpi_bus_hot_remove_device

[RFC PATCH 0/3] acpi: Introduce prepare_remove device operation

2012-11-08 Thread Vasilis Liaskovitis
As discussed in https://patchwork.kernel.org/patch/1581581/ the driver core remove function needs to always succeed. This means we need to know that the device can be successfully removed before acpi_bus_trim / acpi_bus_hot_remove_device are called. This can cause panics when OSPM-initiated eject