Merge tag 'x86_sev_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jan 2022 17:33:40 +0000 (09:33 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jan 2022 17:33:40 +0000 (09:33 -0800)
commit01d5e7872c1c2c04f4fd419c9a4968e148efc5a0
treed6fcd96823ceb11aa0baff08b890a5c065b6cd78
parentcd36722d74733b748ae812e37dcfe035b420de67
parent20f07a044a76aebaaa0603038857229b5c460d69
Merge tag 'x86_sev_for_v5.17_rc1' of git://git./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
arch/x86/Kconfig
arch/x86/include/asm/sev-common.h
arch/x86/kernel/sev.c