From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752437AbdJMQpF (ORCPT ); Fri, 13 Oct 2017 12:45:05 -0400 Received: from mail.skyhub.de ([5.9.137.197]:60038 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752134AbdJMQpE (ORCPT ); Fri, 13 Oct 2017 12:45:04 -0400 Date: Fri, 13 Oct 2017 18:44:50 +0200 From: Borislav Petkov To: Brijesh Singh Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Joerg Roedel , Tom Lendacky Subject: Re: [Part2 PATCH v5 13/31] KVM: X86: Add CONFIG_KVM_AMD_SEV Message-ID: <20171013164450.6h3ezc6anktglduk@pd.tnic> References: <20171004131412.13038-1-brijesh.singh@amd.com> <20171004131412.13038-14-brijesh.singh@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171004131412.13038-14-brijesh.singh@amd.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 04, 2017 at 08:13:54AM -0500, Brijesh Singh wrote: > The config option can be used to enable SEV support on AMD Processors. > > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: "H. Peter Anvin" > Cc: Paolo Bonzini > Cc: "Radim Krčmář" > Cc: Joerg Roedel > Cc: Borislav Petkov > Cc: Tom Lendacky > Cc: x86@kernel.org > Cc: kvm@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Brijesh Singh > --- > arch/x86/kvm/Kconfig | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig > index 3ea624452f93..bedb204f71c9 100644 > --- a/arch/x86/kvm/Kconfig > +++ b/arch/x86/kvm/Kconfig > @@ -79,6 +79,16 @@ config KVM_AMD > To compile this as a module, choose M here: the module > will be called kvm-amd. > > +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 > + ---help--- > + Provides support for launching Encrypted VMs on AMD processors. > + > config KVM_MMU_AUDIT > bool "Audit KVM MMU" > depends on KVM && TRACEPOINTS > -- Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.