x86/hyperv: Mark Hyper-V vp assist page unencrypted in SEV-SNP enlightened guest
authorTianyu Lan <tiala@microsoft.com>
Fri, 18 Aug 2023 10:29:13 +0000 (06:29 -0400)
committerWei Liu <wei.liu@kernel.org>
Tue, 22 Aug 2023 00:38:20 +0000 (00:38 +0000)
commitb13103559dddbc64330c2e63ebf7342e70fbab4e
treebc4fb79146c0589f05555a756990fd415f00a8a4
parent8387ce06d70bbbb97a0c168a52b68268ae0da075
x86/hyperv: Mark Hyper-V vp assist page unencrypted in SEV-SNP enlightened guest

hv vp assist page needs to be shared between SEV-SNP guest and Hyper-V.
So mark the page unencrypted in the SEV-SNP guest.

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-4-ltykernel@gmail.com
arch/x86/hyperv/hv_init.c