Re: [PATCH 4/5] x86/cc: Add cc_platform_set/_clear() helpers

Tom Lendacky
2024-03-29T14:46:50Z

On 3/27/24 10:43, Borislav Petkov wrote:
> From: "Borislav Petkov (AMD)" <bp@alien8.de>
>
> Add functionality to set and/or clear different attributes of the
> machine as a confidential computing platform. Add the first one too:
> whether the machine is running as a host for SEV-SNP guests.
>
> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>

Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>

> ---
> arch/x86/coco/core.c | 52 +++++++++++++++++++++++++++++++++++++
> include/linux/cc_platform.h | 12 +++++++++
> 2 files changed, 64 insertions(+)
>