Re: [PATCH] x86: use hard_smp_processor_id to get apic id inidentify_cpu -v2

From: Suresh Siddha
Date: Wed Aug 26 2009 - 18:25:17 EST


On Wed, 2009-08-26 at 12:07 -0700, Yinghai Lu wrote:
> Suresh Siddha wrote:
> >
> > In short, on all the platforms we want to use initial apic id for apicid
> > and phys_proc_id. And only on the required platforms like x445, vsmp,
> > some AMD platforms, we can have their own mechanisms.
> >
> >> 3. for vsmp, and x445, do you want to have c->apicid to have real apic id or the same as initial apic_id?
> >
> > On these platforms, c->apicid should be based on their real apic id.
> >
> >> this patch is trying to make c->apicid to have real apic_id.
> >
> > Can you please modify the patch so that we can have exceptions for
> > needed platforms only?
> >
>
> please check this one
>
> [PATCH] x86: use hard_smp_processor_id to get apic id for amd k8 cpus
>
> otherwise, system with apci id lifting will have wrong apicid in
> /proc/cpuinfo
>
> and use that in srat_detect_node
>
> Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>
>

Looks better.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/