• Y
    x86: apic_is_clustered_box for vsmp · f8fffa45
    Yinghai Lu 提交于
    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: NYinghai Lu <yinghai.lu@sun.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    f8fffa45
apic.h 3.5 KB