• Yinghai Lu's avatar
    x86: apic_is_clustered_box for vsmp · f8fffa45
    Yinghai Lu authored
    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: default avatarYinghai Lu <yinghai.lu@sun.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    f8fffa45
vsmp_64.c 3.07 KB