From: Gary R Hook Subject: Re: [Part2 PATCH v6 09/38] crypto: ccp: Build the AMD secure processor driver only with AMD CPU support Date: Tue, 24 Oct 2017 13:40:20 -0500 Message-ID: References: <20171020023413.122280-1-brijesh.singh@amd.com> <20171020023413.122280-10-brijesh.singh@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: bp@alien8.de, Borislav Petkov , Tom Lendacky , Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org To: Brijesh Singh , kvm@vger.kernel.org Return-path: Received: from mail-by2nam01on0083.outbound.protection.outlook.com ([104.47.34.83]:63952 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750908AbdJXSk2 (ORCPT ); Tue, 24 Oct 2017 14:40:28 -0400 In-Reply-To: <20171020023413.122280-10-brijesh.singh@amd.com> Content-Language: en-US Sender: linux-crypto-owner@vger.kernel.org List-ID: On 10/19/2017 09:33 PM, Brijesh Singh wrote: > From: Borislav Petkov > > 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 > Signed-off-by: Brijesh Singh > Cc: Brijesh Singh > Cc: Tom Lendacky > Cc: Gary Hook > Cc: Herbert Xu > Cc: "David S. Miller" > Cc: linux-crypto@vger.kernel.org Reviewed-by: Gary R Hook > --- > drivers/crypto/ccp/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/crypto/ccp/Kconfig b/drivers/crypto/ccp/Kconfig > index 6d626606b9c5..9c84f9838931 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. >