x86, cpu: Expand cpufeature facility to include cpu bugs
authorBorislav Petkov <bp@suse.de>
Wed, 20 Mar 2013 14:07:23 +0000 (15:07 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 2 Apr 2013 17:12:52 +0000 (10:12 -0700)
commit65fc985b37dc241c4db7cd32adcbc989193fe3c8
treeb530d4cb1b0a42ad8c220639aa7f9f970e8774df
parent07961ac7c0ee8b546658717034fe692fd12eefa9
x86, cpu: Expand cpufeature facility to include cpu bugs

We add another 32-bit vector at the end of the ->x86_capability
bitvector which collects bugs present in CPUs. After all, a CPU bug is a
kind of a capability, albeit a strange one.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1363788448-31325-2-git-send-email-bp@alien8.de
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/cpufeature.h
arch/x86/include/asm/processor.h
arch/x86/kernel/alternative.c
arch/x86/kernel/cpu/common.c