[PATCHv2 0/4] x86/tdx: Adjust TD settings on boot

Kirill A. Shutemov
2024-03-25T10:46:27Z

Adjust TD setting on boot:

- Disable EPT violation #VE on private memory if TD can
control it;

- Enable virtualization of topology-related CPUID leafs
X2APIC_APICID MSR;

v2:
- Rebased;
- Allow write to TDCS_TD_CTLS to fail;
- Adjust commit messages;

Kirill A. Shutemov (4):
x86/tdx: Introduce tdg_vm_wr()
x86/tdx: Rename tdx_parse_tdinfo() to tdx_setup()
x86/tdx: Handle PENDING_EPT_VIOLATION_V2
x86/tdx: Enable ENUM_TOPOLOGY

arch/x86/coco/tdx/tdx.c | 125 ++++++++++++++++++++++++++----
arch/x86/include/asm/shared/tdx.h | 21 ++++-
2 files changed, 131 insertions(+), 15 deletions(-)

--
2.43.0