x86/hyperv: Add ghcb hvcall support for SNP VM
authorTianyu Lan <Tianyu.Lan@microsoft.com>
Mon, 25 Oct 2021 12:21:12 +0000 (08:21 -0400)
committerWei Liu <wei.liu@kernel.org>
Thu, 28 Oct 2021 11:22:49 +0000 (11:22 +0000)
commit20c89a559e00dfe352b73e867211a669113ae881
tree502dc12927915b48b4d5321afe4272104c68735b
parentfaff44069ff538ccdfef187c4d7ec83d22dfb3a4
x86/hyperv: Add ghcb hvcall support for SNP VM

hyperv provides ghcb hvcall to handle VMBus
HVCALL_SIGNAL_EVENT and HVCALL_POST_MESSAGE
msg in SNP Isolation VM. Add such support.

Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Tianyu Lan <Tianyu.Lan@microsoft.com>
Link: https://lore.kernel.org/r/20211025122116.264793-8-ltykernel@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
arch/x86/hyperv/ivm.c
drivers/hv/connection.c
drivers/hv/hv.c
drivers/hv/hv_common.c
include/asm-generic/mshyperv.h