lkml.org 
[lkml]   [2021]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v10 02/11] x86/tdx: Introduce INTEL_TDX_GUEST config option
Date
Add INTEL_TDX_GUEST config option to selectively compile
TDX guest support.

Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
---

Changes since v9:
* None.

Changes since v8:
* Used Extensions in place of eXtensions to maintain uniformity.
* Removed "select SECURITY_LOCKDOWN_LSM" (it is no longer needed).
* Replaced "select X86_X2APIC" with "depends X86_X2APIC".

Changes since v7:
* None

Changes since v6:
* None

Changes since v5:
* None

Changes since v4:
* None

Changes since v3:
* Removed PARAVIRT_XL from dependency list.
* Fixed typo in help content.

arch/x86/Kconfig | 14 ++++++++++++++
1 file changed, 14 insertions(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 2b2a9639d8ae..eab7f2911f94 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -865,6 +865,20 @@ config ACRN_GUEST
IOT with small footprint and real-time features. More details can be
found in https://projectacrn.org/.

+config INTEL_TDX_GUEST
+ bool "Intel Trusted Domain Extensions (TDX) Guest Support"
+ depends on X86_64 && CPU_SUP_INTEL && PARAVIRT
+ depends on SECURITY
+ depends on X86_X2APIC
+ help
+ Provide support for running in a trusted domain on Intel processors
+ equipped with Trusted Domain Extensions. TDX is a Intel technology
+ that extends VMX and Memory Encryption with a new kind of virtual
+ machine guest called Trust Domain (TD). A TD is designed to run in
+ a CPU mode that protects the confidentiality of TD memory contents
+ and the TD’s CPU state from other software, including VMM. TDX guest
+ uses virtual X2APIC for interrupt management.
+
endif #HYPERVISOR_GUEST

source "arch/x86/Kconfig.cpu"
--
2.25.1
\
 
 \ /
  Last update: 2021-10-09 07:38    [W:0.283 / U:29.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site