x86/cpufeature: Add bug flags to /proc/cpuinfo

commit 80a208bd39 upstream.

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>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Borislav Petkov 2014-06-24 13:25:03 +02:00 • committed by Ben Hutchings
commit dc2feeef21
3 changed files with 53 additions and 16 deletions