Re: [patch 02/17] x86/cpu: Switch to arch_cpu_finalize_init()

From
Thomas Gleixner <hidden>
Date
2023-06-14 09:54:10
Also in
linux-m68k, linux-mips, linux-sh, linux-um, lkml, loongarch, sparclinux
Reply to
Thomas Gleixner, 2023-06-13
On Wed, Jun 14 2023 at 01:39, Thomas Gleixner wrote:
quoted hunk ↗ jump to hunk
+	/*
+	 * 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.


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (45 messages) 45 messages, 14 authors, last reply 2023-09-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help