RE: [PATCH v9 12/12] x86, topology: Debug CPU00 hotplug

2012-10-18 Thread Yu, Fenghua
> From: Srivatsa S. Bhat [mailto:srivatsa.b...@linux.vnet.ibm.com] > Sent: Wednesday, October 17, 2012 11:43 PM > On 10/17/2012 05:36 AM, Yu, Fenghua wrote: > >>> +#ifdef CONFIG_DEBUG_HOTPLUG_CPU0 > > > +case PM_RESTORE_PREPARE: > >>> + /* > >>> + * When system resumes fro

Re: [PATCH v9 12/12] x86, topology: Debug CPU00 hotplug

2012-10-17 Thread Srivatsa S. Bhat
On 10/17/2012 05:36 AM, Yu, Fenghua wrote: >>> +#ifdef CONFIG_DEBUG_HOTPLUG_CPU0 > > + case PM_RESTORE_PREPARE: >>> + /* >>> +* When system resumes from hibernation, online CPU0 >> because >>> +* 1. it's required for resume and >>> +* 2. the CPU was o

RE: [PATCH v9 12/12] x86, topology: Debug CPU00 hotplug

2012-10-16 Thread Yu, Fenghua
> > +#ifdef CONFIG_DEBUG_HOTPLUG_CPU0 > +case PM_RESTORE_PREPARE: > > + /* > > +* When system resumes from hibernation, online CPU0 > because > > +* 1. it's required for resume and > > +* 2. the CPU was online before hibernation > > +*/

Re: [PATCH v9 12/12] x86, topology: Debug CPU00 hotplug

2012-10-16 Thread Srivatsa S. Bhat
On 10/12/2012 09:39 PM, Fenghua Yu wrote: > From: Fenghua Yu > +config DEBUG_HOTPLUG_CPU0 > + def_bool n > + prompt "Debug CPU0 hotplug" > + depends on HOTPLUG_CPU && EXPERIMENTAL > + ---help--- > + Enabling this option offlines CPU0 (if CPU0 can be offlined) as > + so