Re: [PATCH 2/3 RFC] Driver core: Use generic offline/online for CPU offline/online

2013-05-01 Thread Rafael J. Wysocki
On Wednesday, May 01, 2013 02:07:45 PM Toshi Kani wrote: > On Wed, 2013-05-01 at 16:49 +0200, Rafael J. Wysocki wrote: > > On Tuesday, April 30, 2013 05:42:06 PM Toshi Kani wrote: > > > On Mon, 2013-04-29 at 14:28 +0200, Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > > > > > Rew

Re: [PATCH 2/3 RFC] Driver core: Use generic offline/online for CPU offline/online

2013-05-01 Thread Toshi Kani
On Wed, 2013-05-01 at 16:49 +0200, Rafael J. Wysocki wrote: > On Tuesday, April 30, 2013 05:42:06 PM Toshi Kani wrote: > > On Mon, 2013-04-29 at 14:28 +0200, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > Rework the CPU hotplug code in drivers/base/cpu.c to use the > > > gener

Re: [PATCH 2/3 RFC] Driver core: Use generic offline/online for CPU offline/online

2013-05-01 Thread Rafael J. Wysocki
On Tuesday, April 30, 2013 05:42:06 PM Toshi Kani wrote: > On Mon, 2013-04-29 at 14:28 +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Rework the CPU hotplug code in drivers/base/cpu.c to use the > > generic offline/online support introduced previously instead of > > its own C

Re: [PATCH 2/3 RFC] Driver core: Use generic offline/online for CPU offline/online

2013-04-30 Thread Toshi Kani
On Mon, 2013-04-29 at 14:28 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Rework the CPU hotplug code in drivers/base/cpu.c to use the > generic offline/online support introduced previously instead of > its own CPU-specific code. > > For this purpose, modify cpu_subsys to provide

Re: [PATCH 2/3 RFC] Driver core: Use generic offline/online for CPU offline/online

2013-04-30 Thread Rafael J. Wysocki
On Tuesday, April 30, 2013 08:27:53 AM Greg Kroah-Hartman wrote: > On Tue, Apr 30, 2013 at 02:01:10PM +0200, Rafael J. Wysocki wrote: > > On Monday, April 29, 2013 04:11:06 PM Greg Kroah-Hartman wrote: > > > On Mon, Apr 29, 2013 at 02:28:02PM +0200, Rafael J. Wysocki wrote: > > > > From: Rafael J.

Re: [PATCH 2/3 RFC] Driver core: Use generic offline/online for CPU offline/online

2013-04-30 Thread Greg Kroah-Hartman
On Tue, Apr 30, 2013 at 02:01:10PM +0200, Rafael J. Wysocki wrote: > On Monday, April 29, 2013 04:11:06 PM Greg Kroah-Hartman wrote: > > On Mon, Apr 29, 2013 at 02:28:02PM +0200, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > Rework the CPU hotplug code in drivers/base/cpu.c t

Re: [PATCH 2/3 RFC] Driver core: Use generic offline/online for CPU offline/online

2013-04-30 Thread Rafael J. Wysocki
On Monday, April 29, 2013 04:11:06 PM Greg Kroah-Hartman wrote: > On Mon, Apr 29, 2013 at 02:28:02PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Rework the CPU hotplug code in drivers/base/cpu.c to use the > > generic offline/online support introduced previously instead of

Re: [PATCH 2/3 RFC] Driver core: Use generic offline/online for CPU offline/online

2013-04-29 Thread Greg Kroah-Hartman
On Mon, Apr 29, 2013 at 02:28:02PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Rework the CPU hotplug code in drivers/base/cpu.c to use the > generic offline/online support introduced previously instead of > its own CPU-specific code. > > For this purpose, modify cpu_subsys to

[PATCH 2/3 RFC] Driver core: Use generic offline/online for CPU offline/online

2013-04-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Rework the CPU hotplug code in drivers/base/cpu.c to use the generic offline/online support introduced previously instead of its own CPU-specific code. For this purpose, modify cpu_subsys to provide offline and online callbacks for CONFIG_HOTPLUG_CPU set and remove the co