Re: [PATCH v7 05/12] x86/tdx: Add TDX guest support to intel_cc_platform_has()

From: Kuppuswamy, Sathyanarayanan
Date: Thu Sep 23 2021 - 10:10:55 EST




On 9/23/21 3:36 AM, Borislav Petkov wrote:
On Thu, Sep 16, 2021 at 11:35:43AM -0700, Kuppuswamy Sathyanarayanan wrote:
diff --git a/include/linux/cc_platform.h b/include/linux/cc_platform.h
index 253f3ea66cd8..e38430e6e396 100644
--- a/include/linux/cc_platform.h
+++ b/include/linux/cc_platform.h
@@ -61,6 +61,15 @@ enum cc_attr {
* Examples include SEV-ES.
*/
CC_ATTR_GUEST_STATE_ENCRYPT,
+
+ /**
+ * @CC_ATTR_GUEST_TDX: Trusted Domain Extension Support
+ *
+ * The platform/OS is running as a TDX guest/virtual machine.
+ *
+ * Examples include SEV-ES.
^^^^^^^

Copy/paste huh? :)

Yes. Sorry, I will fix it.



--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer