Re: [patch 13/17] init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()

Tom Lendacky
2023-06-21T17:12:37Z

On 6/13/23 18:39, Thomas Gleixner wrote:
> 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>
> Cc: Tom Lendacky <thomas.lendacky@amd.com>

Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>

> ---
> arch/x86/include/asm/mem_encrypt.h | 7 ++++---
> arch/x86/kernel/cpu/common.c | 11 +++++++++++
> init/main.c | 13 -------------
> 3 files changed, 15 insertions(+), 16 deletions(-)
>