]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "x86/sev: Expose sev_es_ghcb_hv_call() for use by HyperV"
authorBorislav Petkov <bp@suse.de>
Wed, 27 Jul 2022 11:24:21 +0000 (13:24 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 27 Jul 2022 16:09:13 +0000 (18:09 +0200)
commit6ec63713dea763b8bca03558befc4547bf502628
treebbcee8b20dea7ab814aa985d1164eea9f9331771
parent27bb14d3725a2403bb15eac067a861f55ca8c6a1
Revert "x86/sev: Expose sev_es_ghcb_hv_call() for use by HyperV"

This reverts commit b9db8bd8bdea7baaae764c24ea7954ef17448286.

Now that hyperv does its own protocol negotiation:

  2e2da1bc8378 ("x86/Hyper-V: Add SEV negotiate protocol support in Isolation VM")

revert this exposure of the sev_es_ghcb_hv_call() helper.

Cc: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by:Tianyu Lan <tiala@microsoft.com>
Link: https://lore.kernel.org/r/20220614014553.1915929-1-ltykernel@gmail.com
arch/x86/include/asm/sev.h
arch/x86/kernel/sev-shared.c
arch/x86/kernel/sev.c