Re: [PATCH 1/4] Driver core: Add offline/online device operations

2013-05-02 Thread Toshi Kani
On Fri, 2013-05-03 at 01:36 +0200, Rafael J. Wysocki wrote: > On Thursday, May 02, 2013 05:11:27 PM Toshi Kani wrote: > > On Thu, 2013-05-02 at 14:27 +0200, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki : > > > > > > +static inline bool device_supports_offline(struct device *dev) > >

Re: [PATCH 1/4] Driver core: Add offline/online device operations

2013-05-02 Thread Rafael J. Wysocki
On Thursday, May 02, 2013 05:11:27 PM Toshi Kani wrote: > On Thu, 2013-05-02 at 14:27 +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > In some cases, graceful hot-removal of devices is not possible, > > although in principle the devices in question support hotplug. > > For exam

Re: [PATCH 1/4] Driver core: Add offline/online device operations

2013-05-02 Thread Toshi Kani
On Thu, 2013-05-02 at 14:27 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > In some cases, graceful hot-removal of devices is not possible, > although in principle the devices in question support hotplug. > For example, that may happen for the last CPU in the system or > for memory

Re: [PATCH 1/4] Driver core: Add offline/online device operations

2013-05-02 Thread Greg Kroah-Hartman
On Thu, May 02, 2013 at 02:27:30PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > In some cases, graceful hot-removal of devices is not possible, > although in principle the devices in question support hotplug. > For example, that may happen for the last CPU in the system or > for

[PATCH 1/4] Driver core: Add offline/online device operations

2013-05-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki In some cases, graceful hot-removal of devices is not possible, although in principle the devices in question support hotplug. For example, that may happen for the last CPU in the system or for memory modules holding kernel memory. In those cases it is nice to be able to