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

This reverts commit 198de6dca72a25956ccceb9811e28b5cd3b96e1d.

Now that hyperv does its own protocol negotiation:

  8c8eaead62e7 ("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