diff options
author | Brijesh Singh <brijesh.singh@amd.com> | 2022-02-09 12:10:11 -0600 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-06 13:16:58 +0200 |
commit | 95d33bfaa3e169cfec1926e0d0f0c6b0ea75d763 (patch) | |
tree | 42be2b1c8f9cb14f8a690f5be725dbc0511a6fc3 /arch/x86/hyperv/hv_init.c | |
parent | 87294bdb7b4b73555b0fba45da1cdecdc6a0d5a8 (diff) |
x86/sev: Register GHCB memory when SEV-SNP is active
The SEV-SNP guest is required by the GHCB spec to register the GHCB's
Guest Physical Address (GPA). This is because the hypervisor may prefer
that a guest uses a consistent and/or specific GPA for the GHCB associated
with a vCPU. For more information, see the GHCB specification section
"GHCB GPA Registration".
[ bp: Cleanup comments. ]
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220307213356.2797205-18-brijesh.singh@amd.com
Diffstat (limited to 'arch/x86/hyperv/hv_init.c')
0 files changed, 0 insertions, 0 deletions