aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2022-01-27 12:56:22 +0100
committerBorislav Petkov <bp@suse.de>2022-04-04 10:16:55 +0200
commitc949110ef4e31cb5d3387bd8273fd5de66b5227b (patch)
tree0b92285edf0b2ea6d02f3a740d61e21d1fbccbd7 /arch/x86/kernel/cpu/common.c
parentx86/cpu: Allow feature bit names from /proc/cpuinfo in clearcpuid= (diff)
downloadlinux-dev-c949110ef4e31cb5d3387bd8273fd5de66b5227b.tar.xz
linux-dev-c949110ef4e31cb5d3387bd8273fd5de66b5227b.zip
x86/cpu: Remove "nosep"
That chicken bit was added by 4f88651125e2 ("[PATCH] i386: allow disabling X86_FEATURE_SEP at boot") but measuring int80 vsyscall performance on 32-bit doesn't matter anymore. If still needed, one can boot with clearcpuid=sep to disable that feature for testing. Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20220127115626.14179-3-bp@alien8.de
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r--arch/x86/kernel/cpu/common.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 69c7ea84b005..c71d1075db93 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -298,13 +298,6 @@ static int __init cachesize_setup(char *str)
}
__setup("cachesize=", cachesize_setup);
-static int __init x86_sep_setup(char *s)
-{
- setup_clear_cpu_cap(X86_FEATURE_SEP);
- return 1;
-}
-__setup("nosep", x86_sep_setup);
-
/* Standard macro to see if a specific flag is changeable */
static inline int flag_is_changeable_p(u32 flag)
{