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)
commit5bb6c1d1126ebcbcd6314f80d82f50b021a9e351
treebbcee8b20dea7ab814aa985d1164eea9f9331771
parent871808fd6981bcc6bb48f71032f983ca77748e96
Revert "x86/sev: Expose sev_es_ghcb_hv_call() for use by HyperV"

This reverts commit 007faec014cb5d26983c1f86fd08c6539b41392e.

Now that hyperv does its own protocol negotiation:

  49d6a3c062a1 ("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