diff options
author | Tianyu Lan <[email protected]> | 2023-08-18 06:29:17 -0400 |
---|---|---|
committer | Wei Liu <[email protected]> | 2023-08-22 00:38:20 +0000 |
commit | 44676bb9d566ce2bfbd132f9745eb7eb2d784476 (patch) | |
tree | 0c258b796b3f341697304d45dbb1575e06848235 /lib/test_fortify/write_overflow-memcpy.c | |
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 <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Signed-off-by: Tianyu Lan <[email protected]>
Signed-off-by: Wei Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions