x86, microcode, AMD: Read CPUID(1).EAX on the correct cpu
authorBorislav Petkov <borislav.petkov@amd.com>
Wed, 25 Jul 2012 18:06:54 +0000 (20:06 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 22 Aug 2012 23:15:50 +0000 (16:15 -0700)
commit5f5b747282c6cc57b91baba37f76de27398b9e60
treea741c6bf98fb9dfe3d83833b1b279381ceb55db3
parent685ca6d797af9d41164dd64dd60145d4946fc152
x86, microcode, AMD: Read CPUID(1).EAX on the correct cpu

Read the CPUID(1).EAX leaf at the correct cpu and use it to search the
equivalence table for matching microcode patch. No functionality change.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Link: http://lkml.kernel.org/r/1344361461-10076-9-git-send-email-bp@amd64.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/microcode_amd.c