public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/4] x86/tdx: Adjust TD settings on boot
@ 2024-03-25 10:46 Kirill A. Shutemov
  2024-03-25 10:46 ` [PATCHv2 1/4] x86/tdx: Introduce tdg_vm_wr() Kirill A. Shutemov
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Kirill A. Shutemov @ 2024-03-25 10:46 UTC (permalink / raw)
  To: tglx, mingo, bp, dave.hansen
  Cc: sathyanarayanan.kuppuswamy, hpa, seanjc, elena.reshetova,
	rick.p.edgecombe, x86, linux-kernel, Kirill A. Shutemov

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


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

end of thread, other threads:[~2024-04-27 16:53 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-25 10:46 [PATCHv2 0/4] x86/tdx: Adjust TD settings on boot Kirill A. Shutemov
2024-03-25 10:46 ` [PATCHv2 1/4] x86/tdx: Introduce tdg_vm_wr() Kirill A. Shutemov
2024-03-26 10:45   ` Huang, Kai
2024-03-26 14:56   ` Kuppuswamy Sathyanarayanan
2024-04-24 17:53   ` Dave Hansen
2024-03-25 10:46 ` [PATCHv2 2/4] x86/tdx: Rename tdx_parse_tdinfo() to tdx_setup() Kirill A. Shutemov
2024-03-26 10:45   ` Huang, Kai
2024-03-25 10:46 ` [PATCHv2 3/4] x86/tdx: Handle PENDING_EPT_VIOLATION_V2 Kirill A. Shutemov
2024-04-24 18:29   ` Dave Hansen
2024-03-25 10:46 ` [PATCHv2 4/4] x86/tdx: Enable ENUM_TOPOLOGY Kirill A. Shutemov
2024-03-26 10:59   ` Huang, Kai
2024-03-26 12:21     ` kirill.shutemov
2024-04-24 22:20   ` Dave Hansen
2024-04-27 16:53     ` Kirill A. Shutemov
2024-04-10 14:37 ` [PATCHv2 0/4] x86/tdx: Adjust TD settings on boot Kirill A. Shutemov
2024-04-10 14:41   ` Edgecombe, Rick P
2024-04-12 15:01     ` kirill.shutemov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox