Skip to content

Add TDX Guest Support (Debug support)

Kuppuswamy Sathyanarayanan lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/tdx: Add #VE tracepointarch/x86/include/asm/trace/tdx.h arch/x86/kernel/tdx.c+57 -00 replies
2/4x86/tdx: Add TDCALL tracepointarch/x86/include/asm/trace/tdx.h arch/x86/kernel/tdx.c+146 -130 replies
3/4x86/tdx: Expose TDX Guest #VE count in /proc/interruptsarch/x86/include/asm/hardirq.h arch/x86/kernel/irq.c arch/x86/kernel/traps.c+11 -00 replies
4/4x86/tdx: Add tdg_debug_enabled() interfacearch/x86/include/asm/tdx.h arch/x86/kernel/tdx.c+6 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAndi KleenTony Luck
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/4] Add TDX Guest Support (Debug support)

Hi All,

Intel's Trust Domain Extensions (TDX) protect guest VMs from malicious hosts and some physical attacks.

Following patches adds tracepoint support for TDX Guest TDCALL requests and #VE exceptions. It also includes helper function to detect TD-DEBUG mode which will be used by patches in other TDX series to add TD-DEBUG mode specific features support.

This series is the continuation of the following TDX guest related patches.

[set 1] - https://lore.kernel.org/patchwork/project/lkml/list/?series=505232
[set 2] - https://lore.kernel.org/patchwork/project/lkml/list/?series=506230
[set 3] - https://lore.kernel.org/patchwork/project/lkml/list/?series=506231
[set 4] - https://lore.kernel.org/patchwork/project/lkml/list/?series=506232

Also please note that this series alone is not necessarily fully functional. You need to apply all the above 4 patch series to get a fully functional TDX guest.

Kuppuswamy Sathyanarayanan (3):
x86/tdx: Add TDCALL tracepoint
x86/tdx: Expose TDX Guest #VE count in /proc/interrupts x86/tdx: Add tdg_debug_enabled() interface

Sean Christopherson (1):
x86/tdx: Add #VE tracepoint

 arch/x86/include/asm/hardirq.h   |   3 +
 arch/x86/include/asm/tdx.h       |   1 +
 arch/x86/include/asm/trace/tdx.h | 150 +++++++++++++++++++++++++++++++
 arch/x86/kernel/irq.c            |   6 ++
 arch/x86/kernel/tdx.c            |  71 ++++++++++++---
 arch/x86/kernel/traps.c          |   2 +
 6 files changed, 220 insertions(+), 13 deletions(-)
 create mode 100644 arch/x86/include/asm/trace/tdx.h
Signature · 1 line
2.25.1