Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

-9
-2
Documentation/admin-guide/kernel-parameters.txt
··· 3665 3665 3666 3666 nosbagart [IA-64] 3667 3667 3668 - nosep [BUGS=X86-32] Disables x86 SYSENTER/SYSEXIT support. 3669 - 3670 3668 nosgx [X86-64,SGX] Disables Intel SGX kernel support. 3671 3669 3672 3670 nosmp [SMP] Tells an SMP kernel to act as a UP kernel,
-7
arch/x86/kernel/cpu/common.c
··· 298 298 } 299 299 __setup("cachesize=", cachesize_setup); 300 300 301 - static int __init x86_sep_setup(char *s) 302 - { 303 - setup_clear_cpu_cap(X86_FEATURE_SEP); 304 - return 1; 305 - } 306 - __setup("nosep", x86_sep_setup); 307 - 308 301 /* Standard macro to see if a specific flag is changeable */ 309 302 static inline int flag_is_changeable_p(u32 flag) 310 303 {