lkml.org 
[lkml]   [2021]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v28 04/32] x86/cpufeatures: Introduce CPU setup and option parsing for CET
On Thu, Jul 22, 2021 at 01:51:51PM -0700, Yu-cheng Yu wrote:
> /*
> * Some CPU features depend on higher CPUID levels, which may not always
> * be available due to CPUID level capping or broken virtualization
> @@ -1249,6 +1257,11 @@ static void __init cpu_parse_early_param(void)
> if (cmdline_find_option_bool(boot_command_line, "noxsaves"))
> setup_clear_cpu_cap(X86_FEATURE_XSAVES);
>
> + if (cmdline_find_option_bool(boot_command_line, "no_user_shstk"))
> + setup_clear_cpu_cap(X86_FEATURE_SHSTK);
> + if (cmdline_find_option_bool(boot_command_line, "no_user_ibt"))
> + setup_clear_cpu_cap(X86_FEATURE_IBT);

Patch 1 says:

"Disabling shadow stack also disables IBT."

I don't see that here.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2021-08-09 18:06    [W:0.929 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site