From: Brijesh Singh Subject: Re: [Part2 PATCH v4 05/29] crypto: ccp: Add Platform Security Processor (PSP) device support Date: Tue, 3 Oct 2017 11:19:48 -0500 Message-ID: References: <20170919204627.3875-1-brijesh.singh@amd.com> <20170919204627.3875-6-brijesh.singh@amd.com> <20170929151607.zn4lmdkyn25sczfg@pd.tnic> <1fc76eee-f25b-cd38-cc8d-0404ec94cf79@amd.com> <20170930161104.452sia6a5y5duyn4@pd.tnic> <55879570-04d7-a627-5f4b-b94f1604ece5@amd.com> <20171003161718.mabp74olsxbmpewv@pd.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: brijesh.singh@amd.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Herbert Xu , Gary Hook , Tom Lendacky , linux-crypto@vger.kernel.org To: Borislav Petkov Return-path: Received: from mail-dm3nam03on0084.outbound.protection.outlook.com ([104.47.41.84]:32798 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750820AbdJCQT4 (ORCPT ); Tue, 3 Oct 2017 12:19:56 -0400 In-Reply-To: <20171003161718.mabp74olsxbmpewv@pd.tnic> Content-Language: en-US Sender: linux-crypto-owner@vger.kernel.org List-ID: On 10/03/2017 11:17 AM, Borislav Petkov wrote: ... > > No, please add my patch below to your set for the CRYPTO_DEV_CCP_DD > dependency as it is a separate thing. Your patch should concentrate only > on adding the PSP and its dependencies. > Sure, I will include your patch in my series. thanks > --- > From: Borislav Petkov > Date: Sat, 30 Sep 2017 10:06:27 +0200 > Subject: [PATCH] crypto: ccp: Build the AMD secure processor driver only with > AMD CPU support > > This is AMD-specific hardware so present it in Kconfig only when AMD > CPU support is enabled or on ARM64 where it is also used. > > Signed-off-by: Borislav Petkov > Cc: Brijesh Singh > Cc: Tom Lendacky > Cc: Gary Hook > Cc: Herbert Xu > Cc: "David S. Miller" > Cc: linux-crypto@vger.kernel.org > --- > drivers/crypto/ccp/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/crypto/ccp/Kconfig b/drivers/crypto/ccp/Kconfig > index 627f3e61dcac..f19f57162225 100644 > --- a/drivers/crypto/ccp/Kconfig > +++ b/drivers/crypto/ccp/Kconfig > @@ -1,5 +1,6 @@ > config CRYPTO_DEV_CCP_DD > tristate "Secure Processor device driver" > + depends on CPU_SUP_AMD || ARM64 > default m > help > Provides AMD Secure Processor device driver. >