x86/cpufeature: Add bug flags to /proc/cpuinfo
commit80a208bd3948aceddf0429bd9f9b4cd858d526df
authorBorislav Petkov <bp@suse.de>
Tue, 24 Jun 2014 11:25:03 +0000 (24 13:25 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 14 Jul 2014 19:21:39 +0000 (14 12:21 -0700)
tree06bd3dd2f9f6d73ce63da9852ca7d8d57f9599c6
parent9b13a93df267af681a66a6a738bf1af10102da7d
x86/cpufeature: Add bug flags to /proc/cpuinfo

Dump the flags which denote we have detected and/or have applied bug
workarounds to the CPU we're executing on, in a similar manner to the
feature flags.

The advantage is that those are not accumulating over time like the CPU
features.

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