x86/hyperv: Use vmmcall to implement Hyper-V hypercall in sev-snp enlightened guest
authorTianyu Lan <tiala@microsoft.com>
Fri, 18 Aug 2023 10:29:15 +0000 (06:29 -0400)
committerWei Liu <wei.liu@kernel.org>
Tue, 22 Aug 2023 00:38:20 +0000 (00:38 +0000)
commit48b1f68372ca93ff67812d99c8d7351aaee62a2a
treefa302d83e638241c413556f9a5c5fa48c64ca3ce
parent193061ea0a50c13f72b907e6fa7befa6e15a4302
x86/hyperv: Use vmmcall to implement Hyper-V hypercall in sev-snp enlightened guest

In sev-snp enlightened guest, Hyper-V hypercall needs
to use vmmcall to trigger vmexit and notify hypervisor
to handle hypercall request.

Signed-off-by: Tianyu Lan <tiala@microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Link: https://lore.kernel.org/r/20230818102919.1318039-6-ltykernel@gmail.com
arch/x86/include/asm/mshyperv.h