On Wed, Jun 14, 2023 at 11:53:50AM +0200, Thomas Gleixner wrote:
> That's the wrong order. mitigations must come before the smt
> update. Thanks to Boris for spotting it.
Right, with that fixed the ordering looks good now.
Reviewed-by: Borislav Petkov (AMD)
--
Regards/Gruss,
Boris.
https:
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: ");
> +
check_bugs() is a dump ground for finalizing the CPU bringup. Only parts of
it has to do with actual CPU bugs.
Split it apart into arch_cpu_finalize_init() and cpu_select_mitigations().
Fixup the bogus 32bit comments while at it.
No functional change.
Signed-off-by: Thomas Gleixner
---
arch/x