x86, amd: Get multi-node CPU info from NodeId MSR instead of PCI config space
authorAndreas Herrmann <herrmann.der.user@googlemail.com>
Wed, 16 Dec 2009 14:43:55 +0000 (15:43 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:41:19 +0000 (07:41 -0700)
commit787814b206766e5a6f21aa2aac0c6685b46821d3
tree4c56a81853de2d018891c630fd58c5c1acc17723
parent97d0f3f2a0bd5c346449a61a77dc1d140ca3782f
x86, amd: Get multi-node CPU info from NodeId MSR instead of PCI config space

commit 9d260ebc09a0ad6b5c73e17676df42c7bc75ff64 upstream.

Use NodeId MSR to get NodeId and number of nodes per processor.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <20091216144355.GB28798@alberich.amd.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/include/asm/cpufeature.h
arch/x86/include/asm/msr-index.h
arch/x86/kernel/cpu/amd.c