diff options
author | Borislav Petkov (AMD) <[email protected]> | 2024-03-27 16:43:16 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-04-04 10:40:27 +0200 |
commit | bc6f707fc0feec72acc2f49c312eb31d257363a3 (patch) | |
tree | 055067786022d9a19eaf61eaa4b9a0a2a46992bd /kernel/bpf/arraymap.c | |
parent | 54f5f47b6055c6b57cbc41a440f8ca8b2ec4275a (diff) |
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: 216d106c7ff7 ("x86/sev: Add SEV-SNP host initialization support")
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Tom Lendacky <[email protected]>
Tested-by: Srikanth Aithal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions