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

Tom Lendacky thomas.lendacky at amd.com
Wed Jun 21 10:12:22 PDT 2023


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 at linutronix.de>
> Cc: Tom Lendacky <thomas.lendacky at amd.com>

Reviewed-by: Tom Lendacky <thomas.lendacky at 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(-)
> 



More information about the linux-arm-kernel mailing list