mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [Patch] x86: fix smp_num_siblings on buggy BIOSes
       [not found] ` <20050526221737.7fc42984.akpm@osdl.org>
@ 2005-05-27  6:36   ` Siddha, Suresh B
  2005-05-27  7:02     ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Siddha, Suresh B @ 2005-05-27  6:36 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Siddha, Suresh B, linux-kernel, venkatesh.pallipadi, shaohua.li,
	ashok.raj

On Thu, May 26, 2005 at 10:17:37PM -0700, Andrew Morton wrote:
> "Siddha, Suresh B" <suresh.b.siddha@intel.com> wrote:
> >
> > Appended patch will fix 'smp_num_siblings' value on the systems with
> > buggy bios, which sets number of siblings to '2' even when HT is disabled.
> > (more details are at http://bugzilla.kernel.org/show_bug.cgi?id=4359)
> > 
> > I am planning to do more cleanup in this area (like moving smp_num_siblings 
> > to per cpuinfo) shortly.
> > 
> > But meanwhile, please pickup this patch for 2.6.12.
> > 
> > Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
> > Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
> > 
> > --- linux-2.6.12-rc5/arch/i386/kernel/smpboot.c~	2005-05-25 16:47:56.462416368 -0700
> > +++ linux-2.6.12-rc5/arch/i386/kernel/smpboot.c	2005-05-25 16:48:14.556665624 -0700
> > @@ -1074,8 +1074,10 @@
> >  			cpu_set(cpu, cpu_sibling_map[cpu]);
> >  		}
> >  
> > -		if (siblings != smp_num_siblings)
> > +		if (siblings != smp_num_siblings) {
> >  			printk(KERN_WARNING "WARNING: %d siblings found for CPU%d, should be %d\n", siblings, cpu, smp_num_siblings);
> > +			smp_num_siblings = siblings;
> > +		}
> >  
> >  		if (c->x86_num_cores > 1) {
> >  			for (i = 0; i < NR_CPUS; i++) {
> 
> OK, but be aware that -mm's sibling-map-initializing-rework.patch
> cheerfully deletes all the surrounding code.  So -mm will not have this
> fix.
> 
> There's a completely loony amount of x86 stuff in -mm.

Thanks for this info. I will send a fix for -mm also.

BTW, when do you plan to integrate x86 cpu hotplug patches to mainline?
Depending on that I will plan my "smp_num_siblings" global cleanup.

thanks,
suresh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Patch] x86: fix smp_num_siblings on buggy BIOSes
  2005-05-27  6:36   ` [Patch] x86: fix smp_num_siblings on buggy BIOSes Siddha, Suresh B
@ 2005-05-27  7:02     ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2005-05-27  7:02 UTC (permalink / raw)
  To: Siddha, Suresh B
  Cc: suresh.b.siddha, linux-kernel, venkatesh.pallipadi, shaohua.li,
	ashok.raj

"Siddha, Suresh B" <suresh.b.siddha@intel.com> wrote:
>
> BTW, when do you plan to integrate x86 cpu hotplug patches to mainline?

I guess after the various subsystem trees have merged their stuff
post-2.6.12 (I tend to wait until after they've merged, although sometimes
people are slow and I get bored).  Say, 1-2 weeks after 2.6.12 is released.
And I'd guess 2.6.12 is 1-2 weeks away.

>  Depending on that I will plan my "smp_num_siblings" global cleanup.

gack, OK.  The kexec patches are a major source of x86 churn.  I don't know
if we'll be merging all the kexec stuff for 2.6.13.  Probably we will.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-27  7:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050525173456.A11038@unix-os.sc.intel.com>
     [not found] ` <20050526221737.7fc42984.akpm@osdl.org>
2005-05-27  6:36   ` [Patch] x86: fix smp_num_siblings on buggy BIOSes Siddha, Suresh B
2005-05-27  7:02     ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®