From: Paolo Bonzini Date: Thu, 11 Jan 2018 12:10:38 +0000 (+0100) Subject: KVM: x86: prefer "depends on" to "select" for SEV X-Git-Tag: v5.15~9409^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=505c9e94d8329dc215617cf99505629e924f001e;p=platform%2Fkernel%2Flinux-starfive.git KVM: x86: prefer "depends on" to "select" for SEV Avoid reverse dependencies. Instead, SEV will only be enabled if the PSP driver is available. Signed-off-by: Paolo Bonzini Signed-off-by: Radim Krčmář --- diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 148ea32..92fd433 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -85,9 +85,7 @@ config KVM_AMD_SEV def_bool y bool "AMD Secure Encrypted Virtualization (SEV) support" depends on KVM_AMD && X86_64 - select CRYPTO_DEV_CCP - select CRYPTO_DEV_CCP_DD - select CRYPTO_DEV_SP_PSP + depends on CRYPTO_DEV_CCP && CRYPTO_DEV_CCP_DD && CRYPTO_DEV_SP_PSP ---help--- Provides support for launching Encrypted VMs on AMD processors.