RE: [PATCH 0/8] Online/offline BSP on x86

From: Yu, Fenghua
Date: Wed Oct 05 2011 - 16:29:15 EST




> -----Original Message-----
> From: Peter Zijlstra [mailto:peterz@xxxxxxxxxxxxx]
> Sent: Wednesday, October 05, 2011 12:28 PM
> To: Yu, Fenghua
> Cc: Ingo Molnar; Thomas Gleixner; H Peter Anvin; Luck, Tony; Mallick,
> Asit K; Siddha, Suresh B; Brown, Len; linux-kernel
> Subject: RE: [PATCH 0/8] Online/offline BSP on x86
>
> On Wed, 2011-10-05 at 12:22 -0700, Yu, Fenghua wrote:
> >
> > > -----Original Message-----
> > > From: Peter Zijlstra [mailto:peterz@xxxxxxxxxxxxx]
> > > Sent: Wednesday, October 05, 2011 12:17 PM
> > > To: Yu, Fenghua
> > > Cc: Ingo Molnar; Thomas Gleixner; H Peter Anvin; Zwane Mwaikambo;
> Luck,
> > > Tony; Mallick, Asit K; Siddha, Suresh B; Len Brown; linux-kernel
> > > Subject: Re: [PATCH 0/8] Online/offline BSP on x86
> > >
> > > On Wed, 2011-10-05 at 09:39 -0700, Fenghua Yu wrote:
> > > >
> > > > BSP or CPU0 has been the last obstacle to CPU hotplug on x86.
> This
> > > patch set
> > > > implements BSP online and offline and removes this obstacle to
> CPU
> > > hotplug.
> > >
> > > Are you talking about physical cpu hotplug on x86? And you need to
> > > offline the BSP so you can replace socket0 ?
> >
> >
> > This patch set is for BSP online/offline.
>
> Yes, I got that part. Why do you care?

I can think of two reasons for bsp offline/online:

1. RAS needs the feature. If socket0 needs to be hotplugged for any reason (any thread on socket0 is bad, shared cache issue, uncore issue, etc), CPU0 is required to be offlined.

2. CPU0 is symmetrical to other CPU's. There is no specific reason why it shouldn't be offlined except BIOS requirements.

Thanks.

-Fenghua
¢éì®&Þ~º&¶¬–+-±éÝ¥Šw®žË±Êâmébžìdz¹Þ)í…æèw*jg¬±¨¶‰šŽŠÝj/êäz¹ÞŠà2ŠÞ¨è­Ú&¢)ß«a¶Úþø®G«éh®æj:+v‰¨Šwè†Ù>Wš±êÞiÛaxPjØm¶Ÿÿà -»+ƒùdš_