x86: Add cpu_has_topoext
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Fri, 19 Oct 2012 08:58:13 +0000 (10:58 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 13 Nov 2012 19:22:28 +0000 (11:22 -0800)
commit193f3fcb3ab769bab4a2b9fa181eef3e5699a352
tree8afed963459adc5cd706eed124d903e444b01a9f
parent77b67063bb6bce6d475e910d3b886a606d0d91f7
x86: Add cpu_has_topoext

Introduce cpu_has_topoext to check for AMD's CPUID topology extensions
support. It indicates support for
CPUID Fn8000_001D_EAX_x[N:0]-CPUID Fn8000_001E_EDX

See AMD's CPUID Specification, Publication # 25481
(as of Rev. 2.34 September 2010)

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Link: http://lkml.kernel.org/r/20121019085813.GD26718@alberich
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/cpufeature.h
arch/x86/kernel/cpu/amd.c
arch/x86/kernel/smpboot.c