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

From: Borislav Petkov
Date: Thu Sep 23 2021 - 06:36:54 EST


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? :)

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette