]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: make amd quad core 8 socket system not be clustered_box, #2
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Sun, 24 Feb 2008 05:48:42 +0000 (21:48 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:49 +0000 (17:40 +0200)
commit322850af8d93735f67b8ebf84bb1350639be3f34
tree107a13e6d486d6d5f0791630c8701b100d9cfb92
parent513ad84bf60d96a6998bca10ed07c3d340449be8
x86: make amd quad core 8 socket system not be clustered_box, #2

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 large than 2. So it is treated as clustered_box.

and will get

Marking TSC unstable due to TSCs unsynchronized

even the CPUs have X86_FEATURE_CONSTANT_TSC set.

this patch will check if the cpu is from AMD.

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