x86, amd: Extract compute unit information for AMD CPUs
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Thu, 30 Sep 2010 12:38:57 +0000 (14:38 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 1 Oct 2010 23:18:32 +0000 (16:18 -0700)
commit6057b4d331f19a3ea51aec463ea7839c128b3227
tree0bcf33ac60389ab21781b565aaf5b5e8c0fa60d8
parent23588c38a84c9175c6668789b64ffba4651e5c6a
x86, amd: Extract compute unit information for AMD CPUs

Get compute unit information from CPUID Fn8000_001E_EBX.
(See AMD CPUID Specification - publication # 25481, revision 2.34,
September 2010.)

Note that each core on a compute unit still has a core_id of its own.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <20100930123857.GE20545@loge.amd.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/processor.h
arch/x86/kernel/cpu/amd.c