arch/x86/boot/compressed/misc.c | 15 ++++ arch/x86/boot/compressed/misc.h | 4 - arch/x86/boot/compressed/pgtable_64.c | 12 --- arch/x86/boot/compressed/sev.c | 3 + arch/x86/boot/compressed/vmlinux.lds.S | 1 + arch/x86/include/asm/mem_encrypt.h | 8 +- arch/x86/include/asm/pgtable_64_types.h | 43 ++++----- arch/x86/include/asm/sev.h | 10 +-- arch/x86/include/uapi/asm/bootparam.h | 1 + arch/x86/kernel/cpu/common.c | 2 - arch/x86/kernel/head64.c | 67 +++----------- arch/x86/kernel/head_64.S | 93 ++++++++------------ arch/x86/kernel/sev-shared.c | 23 +++-- arch/x86/kernel/sev.c | 14 +-- arch/x86/lib/Makefile | 13 --- arch/x86/mm/kasan_init_64.c | 3 - arch/x86/mm/mem_encrypt_identity.c | 89 +++++-------------- drivers/firmware/efi/libstub/efi-stub-helper.c | 8 ++ drivers/firmware/efi/libstub/efistub.h | 2 +- drivers/firmware/efi/libstub/x86-stub.c | 3 + 20 files changed, 152 insertions(+), 262 deletions(-)