Re: [PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE

2018-04-23 Thread Geert Uytterhoeven
Hi Gilad, On Mon, Apr 23, 2018 at 9:45 AM, Gilad Ben-Yossef wrote: > On Wed, Apr 18, 2018 at 10:47 AM, Geert Uytterhoeven > wrote: >> On Wed, Apr 18, 2018 at 6:32 AM, Gilad Ben-Yossef >> wrote: >>> On Tue, Apr 17, 2018 at 9:14

Re: [PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE

2018-04-23 Thread Gilad Ben-Yossef
On Wed, Apr 18, 2018 at 10:47 AM, Geert Uytterhoeven wrote: > Hi Gilad, > > On Wed, Apr 18, 2018 at 6:32 AM, Gilad Ben-Yossef wrote: >> On Tue, Apr 17, 2018 at 9:14 PM, Geert Uytterhoeven >> wrote: >>> The ARM TrustZone CryptoCell

Re: [PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE

2018-04-18 Thread Geert Uytterhoeven
Hi Gilad, On Wed, Apr 18, 2018 at 6:32 AM, Gilad Ben-Yossef wrote: > On Tue, Apr 17, 2018 at 9:14 PM, Geert Uytterhoeven > wrote: >> The ARM TrustZone CryptoCell is found on ARM SoCs only. Hence make it >> depend on ARM or ARM64, unless

Re: [PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE

2018-04-18 Thread Geert Uytterhoeven
Hi Arnd, On Tue, Apr 17, 2018 at 9:53 PM, Arnd Bergmann wrote: > On Tue, Apr 17, 2018 at 8:14 PM, Geert Uytterhoeven > wrote: >> The ARM TrustZone CryptoCell is found on ARM SoCs only. Hence make it >> depend on ARM or ARM64, unless compile-testing. >> >>

Re: [PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE

2018-04-17 Thread Gilad Ben-Yossef
Hi Geert, On Tue, Apr 17, 2018 at 9:14 PM, Geert Uytterhoeven wrote: > The ARM TrustZone CryptoCell is found on ARM SoCs only. Hence make it > depend on ARM or ARM64, unless compile-testing. > Actually it is not. Despite what the name suggest, CryptoCell is designed by

Re: [PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE

2018-04-17 Thread Arnd Bergmann
On Tue, Apr 17, 2018 at 8:14 PM, Geert Uytterhoeven wrote: > The ARM TrustZone CryptoCell is found on ARM SoCs only. Hence make it > depend on ARM or ARM64, unless compile-testing. > > Drop the dependency on HAS_DMA, as DMA is always available on ARM and > ARM64 platforms,

[PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE

2018-04-17 Thread Geert Uytterhoeven
The ARM TrustZone CryptoCell is found on ARM SoCs only. Hence make it depend on ARM or ARM64, unless compile-testing. Drop the dependency on HAS_DMA, as DMA is always available on ARM and ARM64 platforms, and doing so will increase compile coverage. Signed-off-by: Geert Uytterhoeven