x86: Detect CPUID support early at boot
authorBorislav Petkov <bp@suse.de>
Mon, 11 Feb 2013 14:22:16 +0000 (15:22 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 12 Feb 2013 23:48:41 +0000 (15:48 -0800)
commit9efb58de919efa8312861d454be014094f6f0ffc
treedc6edbb3b3e7922a1975f2242dca373bbea248ea
parent166df91daf38f619d4ca90b58ff90983de6e40d2
x86: Detect CPUID support early at boot

We detect CPUID function support on each CPU and save it for later use,
obviating the need to play the toggle EFLAGS.ID game every time. C code
is looking at ->cpuid_level anyway.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1360592538-10643-3-git-send-email-bp@alien8.de
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/head_32.S