Borislav Petkov
cd4d09ec6f
x86/cpufeature: Carve out X86_FEATURE_*
...
Move them to a separate header and have the following
dependency:
x86/cpufeatures.h <- x86/processor.h <- x86/cpufeature.h
This makes it easier to use the header in asm code and not
include the whole cpufeature.h and add guards for asm.
Suggested-by: H. Peter Anvin <[email protected] >
Signed-off-by: Borislav Petkov <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Borislav Petkov <[email protected] >
Cc: Brian Gerst <[email protected] >
Cc: Denys Vlasenko <[email protected] >
Cc: Linus Torvalds <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2016-01-30 11:22:17 +01:00
Sylvain BERTRAND
e85bd9892c
x86/build: Fix mkcapflags.sh bash-ism
...
Chocked while compiling linux with dash shell instead of bash
shell. See:
http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_05
Signed-off-by: Sylvain BERTRAND <[email protected] >
Cc: "H. Peter Anvin" <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Link: http://lkml.kernel.org/r/20141229154324.GA27533@dhcppc1
Signed-off-by: Ingo Molnar <[email protected] >
2015-02-19 02:21:00 +01:00
Sylvain BERTRAND
ea174f4c4f
x86: Fix mkcapflags.sh bash-ism
...
Chocked while compiling linux with dash shell instead of bash
shell. See:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
Signed-off-by: Sylvain BERTRAND <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2014-12-23 15:34:57 +01:00
Borislav Petkov
80a208bd39
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 <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected] >
2014-07-14 12:21:39 -07:00
Rob Landley
0c0de199ce
mkcapflags.pl: convert to mkcapflags.sh
...
Generate asm-x86/cpufeature.h with posix-2008 commands instead of perl.
Signed-off-by: Rob Landley <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Josh Boyer <[email protected] >
Cc: "Paul E. McKenney" <[email protected] >
Cc: David Howells <[email protected] >
Cc: Michal Marek <[email protected] >
Cc: Sam Ravnborg <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2013-04-29 15:54:27 -07:00