lkml.org 
[lkml]   [2023]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch 02/17] x86/cpu: Switch to arch_cpu_finalize_init()
Date
On Wed, Jun 14 2023 at 01:39, Thomas Gleixner wrote:
> + /*
> + * identify_boot_cpu() initialized SMT support information, let the
> + * core code know.
> + */
> + cpu_smt_check_topology();
> +
> + if (!IS_ENABLED(CONFIG_SMP)) {
> + pr_info("CPU: ");
> + print_cpu_info(&boot_cpu_data);
> + }
> +
> + arch_smt_update();
> +
> + cpu_select_mitigations();

That's the wrong order. mitigations must come before the smt
update. Thanks to Boris for spotting it.

\
 
 \ /
  Last update: 2023-06-14 11:55    [W:0.313 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site