]> git.baikalelectronics.ru Git - kernel.git/commit
x86: use cpuid vector 0xb when available for detecting cpu topology
authorSuresh Siddha <suresh.b.siddha@intel.com>
Sat, 23 Aug 2008 15:47:10 +0000 (17:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 23 Aug 2008 15:47:10 +0000 (17:47 +0200)
commit197c15c68a0c88fc29b34d04a2bb311791c1a669
treef3eacf1b1313d729e084064ed6dda5db64522bf4
parent8a981c4ab3c2c9a6c5833f9ed064a9b9603b8715
x86: use cpuid vector 0xb when available for detecting cpu topology

cpuid leaf 0xb provides extended topology enumeration. This interface provides
the 32-bit x2APIC id of the logical processor and it also provides a new
mechanism to detect SMT and core siblings (which provides increased
addressability).

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/addon_cpuid_features.c
arch/x86/kernel/cpu/common_64.c
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/cpu/intel_64.c
include/asm-x86/cpufeature.h
include/asm-x86/processor.h