]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/cpufeature: Add bug flags to /proc/cpuinfo
authorBorislav Petkov <bp@suse.de>
Tue, 24 Jun 2014 11:25:03 +0000 (13:25 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 22 May 2019 22:15:00 +0000 (23:15 +0100)
commitdc2feeef2101fcb06a82951f7cd6ac8cd28bec58
tree48f7e41894b63ea85a57a6dda0fe9bc2d37476fc
parente4b618abfdb771996e069335d8a648c43fb61643
x86/cpufeature: Add bug flags to /proc/cpuinfo

commit 80a208bd3948aceddf0429bd9f9b4cd858d526df 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>
arch/x86/include/asm/cpufeature.h
arch/x86/kernel/cpu/mkcapflags.sh
arch/x86/kernel/cpu/proc.c