Merge tag 'x86_sev_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 SEV updates from Borislav Petkov: "The accumulated pile of x86/sev generalizations and cleanups: - Share the SEV string unrolling logic with TDX as TDX guests need it too - Cleanups and generalzation of code shared by SEV and TDX" * tag 'x86_sev_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/sev: Move common memory encryption code to mem_encrypt.c x86/sev: Rename mem_encrypt.c to mem_encrypt_amd.c x86/sev: Use CC_ATTR attribute to generalize string I/O unroll x86/sev: Remove do_early_exception() forward declarations x86/head64: Carve out the guest encryption postprocessing into a helper x86/sev: Get rid of excessive use of defines x86/sev: Shorten GHCB terminate macro names
Showing
- arch/x86/Kconfig 7 additions, 3 deletionsarch/x86/Kconfig
- arch/x86/boot/compressed/sev.c 3 additions, 3 deletionsarch/x86/boot/compressed/sev.c
- arch/x86/include/asm/io.h 3 additions, 17 deletionsarch/x86/include/asm/io.h
- arch/x86/include/asm/sev-common.h 30 additions, 25 deletionsarch/x86/include/asm/sev-common.h
- arch/x86/kernel/cc_platform.c 8 additions, 0 deletionsarch/x86/kernel/cc_platform.c
- arch/x86/kernel/head64.c 31 additions, 29 deletionsarch/x86/kernel/head64.c
- arch/x86/kernel/sev-shared.c 1 addition, 1 deletionarch/x86/kernel/sev-shared.c
- arch/x86/kernel/sev.c 3 additions, 8 deletionsarch/x86/kernel/sev.c
- arch/x86/mm/Makefile 6 additions, 1 deletionarch/x86/mm/Makefile
- arch/x86/mm/mem_encrypt.c 4 additions, 437 deletionsarch/x86/mm/mem_encrypt.c
- arch/x86/mm/mem_encrypt_amd.c 438 additions, 0 deletionsarch/x86/mm/mem_encrypt_amd.c
- include/linux/cc_platform.h 11 additions, 0 deletionsinclude/linux/cc_platform.h
Please register or sign in to comment