All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/4] Share common features between AMD SEV / TDX guest
@ 2021-11-16  0:45 Kuppuswamy Sathyanarayanan
  2021-11-16  0:45 ` [PATCH v1 1/4] x86/sev: Remove sev_enable_key usage in outs##bwl()/ins##bwl() Kuppuswamy Sathyanarayanan
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Kuppuswamy Sathyanarayanan @ 2021-11-16  0:45 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
	Tom Lendacky
  Cc: Andy Lutomirski, Peter Zijlstra, H . Peter Anvin, Tony Luck,
	Dan Williams, Andi Kleen, Kirill Shutemov,
	Kuppuswamy Sathyanarayanan, Kuppuswamy Sathyanarayanan,
	linux-kernel

Hi All,

Intel's Trust Domain Extensions (TDX) protect guest VMs from malicious
hosts and some physical attacks. TDX has a lot of similarities to AMD SEV.
Features like encryption/decryption and string I/O unroll support can
be shared between these two technologies.

This patch set adds infrastructure changes required to share the code
between AMD SEV and TDX.

Kirill A. Shutemov (1):
  x86: Move common memory encryption code to mem_encrypt.c

Kuppuswamy Sathyanarayanan (3):
  x86/sev: Remove sev_enable_key usage in outs##bwl()/ins##bwl()
  x86/sev: Use CC_ATTR attribute to generalize string I/O unroll
  x86/sev: Rename mem_encrypt.c to mem_encrypt_amd.c

 arch/x86/Kconfig              |  10 +-
 arch/x86/include/asm/io.h     |  20 +-
 arch/x86/kernel/cc_platform.c |   4 +
 arch/x86/mm/Makefile          |   7 +-
 arch/x86/mm/mem_encrypt.c     | 443 +---------------------------------
 arch/x86/mm/mem_encrypt_amd.c | 438 +++++++++++++++++++++++++++++++++
 include/linux/cc_platform.h   |  11 +
 7 files changed, 474 insertions(+), 459 deletions(-)
 create mode 100644 arch/x86/mm/mem_encrypt_amd.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-12-01 19:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16  0:45 [PATCH v1 0/4] Share common features between AMD SEV / TDX guest Kuppuswamy Sathyanarayanan
2021-11-16  0:45 ` [PATCH v1 1/4] x86/sev: Remove sev_enable_key usage in outs##bwl()/ins##bwl() Kuppuswamy Sathyanarayanan
2021-12-01 19:32   ` Tom Lendacky
2021-11-16  0:45 ` [PATCH v1 2/4] x86/sev: Use CC_ATTR attribute to generalize string I/O unroll Kuppuswamy Sathyanarayanan
2021-11-16  0:45 ` [PATCH v1 3/4] x86/sev: Rename mem_encrypt.c to mem_encrypt_amd.c Kuppuswamy Sathyanarayanan
2021-11-16  0:45 ` [PATCH v1 4/4] x86: Move common memory encryption code to mem_encrypt.c Kuppuswamy Sathyanarayanan
2021-12-01 19:56   ` Tom Lendacky
2021-12-01 16:34 ` [PATCH v1 0/4] Share common features between AMD SEV / TDX guest Kirill A. Shutemov
2021-12-01 19:57   ` Tom Lendacky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.