]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 1 Aug 2023 14:07:11 +0000 (16:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Aug 2023 18:04:49 +0000 (20:04 +0200)
commit03e244a37a411efaa0251d1f2cc5471c7dd9cc44
tree025cdde81fd2cc675052674d24e9dd80292e9719
parent5dc85ed21b9c16050ff37178ed9a7d08fcdb1099
init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()

commit 439e17576eb47f26b78c5bbc72e344d4206d2327 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>
arch/x86/include/asm/mem_encrypt.h
arch/x86/kernel/cpu/common.c
init/main.c