]> 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 16:58:30 +0000 (18:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Aug 2023 17:58:31 +0000 (19:58 +0200)
commit041d929233bb2cadee3116742f400ac7004c8569
treeef6aaeeefec84884c928a99c38cecae2bb0f8e8d
parent8ae795ed611538828858aaf98fe186ee7f6d5295
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