drivers: hv: Mark percpu hvcall input arg page unencrypted in SEV-SNP enlightened...
authorTianyu Lan <tiala@microsoft.com>
Fri, 18 Aug 2023 10:29:14 +0000 (06:29 -0400)
committerWei Liu <wei.liu@kernel.org>
Tue, 22 Aug 2023 00:38:20 +0000 (00:38 +0000)
commit193061ea0a50c13f72b907e6fa7befa6e15a4302
treef214cd173c276e2ba2ea09dec06117ae84a1c042
parentb13103559dddbc64330c2e63ebf7342e70fbab4e
drivers: hv: Mark percpu hvcall input arg page unencrypted in SEV-SNP enlightened guest

Hypervisor needs to access input arg, VMBus synic event and
message pages. Mark these pages unencrypted in the SEV-SNP
guest and free them only if they have been marked encrypted
successfully.

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-5-ltykernel@gmail.com
drivers/hv/hv.c
drivers/hv/hv_common.c