x86/cpu: Switch to arch_cpu_finalize_init()
stable inclusion from stable-v5.10.189 commit e5eb18e164d08986543f8259d0cc10e120fb8746 category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8LVBS CVE: N/A Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e5eb18e164d08986543f8259d0cc10e120fb8746 ------------------------------------- Intel-SIG: commit e5eb18e164d0 ("x86/cpu: Switch to arch_cpu_finalize_init()") Backport x86 related patches from 5.10.189 upstream ------------------------------------- commit 7c7077a7 upstream check_bugs() is a dumping 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 <tglx@linutronix.de> Reviewed-by:
Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230613224545.019583869@linutronix.de Signed-off-by:
Daniel Sneddon <daniel.sneddon@linux.intel.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Aichun Shi <aichun.shi@intel.com>
Loading
Please sign in to comment