Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1742646

Re: [PATCH] crypto: ccp: Build the AMD secure processor driver only with AMD CPU support

From Borislav Petkov <bp@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH] crypto: ccp: Build the AMD secure processor driver only with AMD CPU support
Date 2017-09-30 18:00 +0200
Message-ID <uvslj-66i-5@gated-at.bofh.it> (permalink)
References <uv5f4-7SN-17@gated-at.bofh.it> <uvltv-1HL-9@gated-at.bofh.it> <uvltv-1HL-7@gated-at.bofh.it> <uvslj-66i-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Sep 30, 2017 at 09:06:26AM -0500, Brijesh Singh wrote:
> > diff --git a/drivers/crypto/ccp/Kconfig b/drivers/crypto/ccp/Kconfig
> > index 627f3e61dcac..f58a6521270b 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
> 
> Please note that ccp.ko is built on both x86 and aarch64 (AMD Seattle)
> architectures. I have not looked into details but I thought CPU_SUP_AMD
> is x64 specific config. I will look into it and verify that we don't
> break AMD Seattle platform builds.

Ah, then I guess that line needs to be:

	depends on CPU_SUP_AMD || ARM64

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [Part2 PATCH v4 05/29] crypto: ccp: Add Platform Security  Processor (PSP) device support Borislav Petkov <bp@suse.de> - 2017-09-29 17:20 +0200
  [PATCH] crypto: ccp: Build the AMD secure processor driver only with  AMD CPU support Borislav Petkov <bp@suse.de> - 2017-09-30 10:40 +0200
    Re: [PATCH] crypto: ccp: Build the AMD secure processor driver only  with AMD CPU support Borislav Petkov <bp@suse.de> - 2017-09-30 18:00 +0200
  Re: [Part2 PATCH v4 05/29] crypto: ccp: Add Platform Security  Processor (PSP) device support Borislav Petkov <bp@suse.de> - 2017-09-30 18:20 +0200

csiph-web