mbox series

[00/11] x86/virt/tdx: Add SEAMCALL wrappers for KVM

Message ID 20250101073047.402099-1-pbonzini@redhat.com (mailing list archive)
Headers show
Series x86/virt/tdx: Add SEAMCALL wrappers for KVM | expand

Message

Paolo Bonzini Jan. 1, 2025, 7:30 a.m. UTC
This is a completed version of Rick's RFC series at
https://lore.kernel.org/r/20241115202028.1585487-1-rick.p.edgecombe@intel.com/.

I took all the "Add SEAMCALL wrappers" patches from the various
TDX parts and placed them in a single series, so that they can be
reviewed and provided in a topic branch by Dave.

I will rebase kvm-coco-queue on top of these, but it's New Year's
Day and I only have a few minutes before turning off the computer
for good for a few days, so I'm not sure I will manage to push the
result.

In the meanwhile, this gives people time to review while I'm not
available.

Paolo

Isaku Yamahata (5):
  x86/virt/tdx: Add SEAMCALL wrapper tdh_mem_sept_add() to add SEPT
    pages
  x86/virt/tdx: Add SEAMCALL wrappers to add TD private pages
  x86/virt/tdx: Add SEAMCALL wrappers to manage TDX TLB tracking
  x86/virt/tdx: Add SEAMCALL wrappers to remove a TD private page
  x86/virt/tdx: Add SEAMCALL wrappers for TD measurement of initial
    contents

Rick Edgecombe (6):
  x86/virt/tdx: Add SEAMCALL wrappers for TDX KeyID management
  x86/virt/tdx: Add SEAMCALL wrappers for TDX TD creation
  x86/virt/tdx: Add SEAMCALL wrappers for TDX vCPU creation
  x86/virt/tdx: Add SEAMCALL wrappers for TDX page cache management
  x86/virt/tdx: Add SEAMCALL wrappers for TDX VM/vCPU field access
  x86/virt/tdx: Add SEAMCALL wrappers for TDX flush operations

 arch/x86/include/asm/tdx.h  |  38 ++++
 arch/x86/virt/vmx/tdx/tdx.c | 362 ++++++++++++++++++++++++++++++++++++
 arch/x86/virt/vmx/tdx/tdx.h |  46 ++++-
 3 files changed, 439 insertions(+), 7 deletions(-)