Thread (59 messages) 59 messages, 6 authors, 2021-01-27

Re: [PATCH v17 04/26] x86/cpufeatures: Introduce X86_FEATURE_CET and setup functions

From: Borislav Petkov <bp@alien8.de>
Date: 2021-01-12 12:39:54
Also in: linux-arch, linux-doc, linux-mm, lkml

On Mon, Jan 11, 2021 at 03:09:00PM -0800, Yu-cheng Yu wrote:
quoted hunk ↗ jump to hunk
@@ -1252,6 +1260,16 @@ static void __init cpu_parse_early_param(void)
 	if (cmdline_find_option_bool(boot_command_line, "noxsaves"))
 		setup_clear_cpu_cap(X86_FEATURE_XSAVES);
 
+	/*
+	 * CET states are XSAVES states and options must be parsed early.
+	 */
That comment is redundant - look at the containing function's name.

Otherwise patch looks just as it should.

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help