init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
stable inclusion from stable-v5.10.189 commit 18fcd72da1ed6166f1cbb03f713bed50c839fc22 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=18fcd72da1ed6166f1cbb03f713bed50c839fc22 ------------------------------------- Intel-SIG: commit 18fcd72da1ed ("init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()") Backport x86 related patches from 5.10.189 upstream ------------------------------------- commit 439e1757 upstream Invoke the X86ism mem_encrypt_init() from X86 arch_cpu_finalize_init() and remove the weak fallback from the core code. No functional change. Signed-off-by:Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230613224545.670360645@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