diff options
author | Tianyu Lan <tiala@microsoft.com> | 2023-08-18 06:29:17 -0400 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2023-08-22 00:38:20 +0000 |
commit | 44676bb9d566ce2bfbd132f9745eb7eb2d784476 (patch) | |
tree | 0c258b796b3f341697304d45dbb1575e06848235 /scripts/rustdoc_test_builder.rs | |
parent | 45f46b1ac95ea34cc6e81739a64cb6bec28f1185 (diff) |
x86/hyperv: Add smp support for SEV-SNP guest
In the AMD SEV-SNP guest, AP needs to be started up via sev es
save area and Hyper-V requires to call HVCALL_START_VP hypercall
to pass the gpa of sev es save area with AP's vp index and VTL(Virtual
trust level) parameters. Override wakeup_secondary_cpu_64 callback
with hv_snp_boot_ap.
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Tianyu Lan <tiala@microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Link: https://lore.kernel.org/r/20230818102919.1318039-8-ltykernel@gmail.com
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions