]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: apic_is_clustered_box for vsmp
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Mon, 25 Feb 2008 05:36:28 +0000 (21:36 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:50 +0000 (17:40 +0200)
commitf8fffa458368ed3d57385698f775880db629bd1a
tree845bce35fea17284414d973a0fd0ea199d0947a6
parent34048c9e927d5ae29c6ba802c826370de2a046d2
x86: apic_is_clustered_box for vsmp

quad core 8 socket system will have apic id lifting.the apic id range could
be [4, 0x23]. and apic_is_clustered_box will think that need to three clusters
and that is larger than 2. So it is treated as a clustered_box.

and will get:

   Marking TSC unstable due to TSCs unsynchronized

even if the CPUs have X86_FEATURE_CONSTANT_TSC set.

this quick fix will check if the cpu is from AMD.

but vsmp still needs that checking...

this patch is fix to make sure that vsmp not to be passed.

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic_64.c
arch/x86/kernel/vsmp_64.c
include/asm-x86/apic.h