mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 23:46:45 +00:00

Currently, the sev-guest driver is the only user of SNP guest messaging. All routines for initializing SNP guest messaging are implemented within the sev-guest driver and are not available during early boot. In preparation for adding Secure TSC guest support, carve out APIs to allocate and initialize the guest messaging descriptor context and make it part of coco/sev/core.c. As there is no user of sev_guest_platform_data anymore, remove the structure. Signed-off-by: Nikunj A Dadhania <nikunj@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com> Link: https://lore.kernel.org/r/20250106124633.1418972-4-nikunj@amd.com
14 lines
486 B
Plaintext
14 lines
486 B
Plaintext
config SEV_GUEST
|
|
tristate "AMD SEV Guest driver"
|
|
default m
|
|
depends on AMD_MEM_ENCRYPT
|
|
select TSM_REPORTS
|
|
help
|
|
SEV-SNP firmware provides the guest a mechanism to communicate with
|
|
the PSP without risk from a malicious hypervisor who wishes to read,
|
|
alter, drop or replay the messages sent. The driver provides
|
|
userspace interface to communicate with the PSP to request the
|
|
attestation report and more.
|
|
|
|
If you choose 'M' here, this module will be called sev-guest.
|