linux-stable/arch/x86/coco
Borislav Petkov (AMD) bc6f707fc0 x86/cc: Add cc_platform_set/_clear() helpers
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.

Fixes: 216d106c7f ("x86/sev: Add SEV-SNP host initialization support")
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Tested-by: Srikanth Aithal <sraithal@amd.com>
Link: https://lore.kernel.org/r/20240327154317.29909-5-bp@alien8.de
2024-04-04 10:40:27 +02:00
..
tdx - Add support managing TDX host hardware 2024-01-18 13:41:48 -08:00
Makefile x86/tdx: Detect running as a TDX guest in early boot 2022-04-07 08:27:50 -07:00
core.c x86/cc: Add cc_platform_set/_clear() helpers 2024-04-04 10:40:27 +02:00