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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/12/2021 4:38 AM, Borislav Petkov wrote:
On Mon, Jan 11, 2021 at 03:09:00PM -0800, Yu-cheng Yu wrote:
@@ -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.


Should I send an updated patch?  Thanks!

--
Yu-cheng




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux