From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753012AbeDRHrb (ORCPT ); Wed, 18 Apr 2018 03:47:31 -0400 Received: from mail-vk0-f51.google.com ([209.85.213.51]:36796 "EHLO mail-vk0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751942AbeDRHr1 (ORCPT ); Wed, 18 Apr 2018 03:47:27 -0400 X-Google-Smtp-Source: AIpwx48K9WQi9+CZ2mHq8gl+MHI+L3lEKoJPm8MPltTDWksdJ48Rh3NGACI5qvOknR02b9XBz7+/yf0uYKBhSl36tb8= MIME-Version: 1.0 In-Reply-To: References: <1523988865-26848-1-git-send-email-geert@linux-m68k.org> From: Geert Uytterhoeven Date: Wed, 18 Apr 2018 09:47:26 +0200 X-Google-Sender-Auth: GIeKeH6SZnCHAFmqPdSFmN9goYw Message-ID: Subject: Re: [PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE To: Gilad Ben-Yossef Cc: Herbert Xu , "David S . Miller" , Arnd Bergmann , Linux Crypto Mailing List , Linux kernel mailing list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 compile-testing. > > Actually it is not. Despite what the name suggest, CryptoCell is > designed by Arm but is > not in fact limited to Arm cores. I think the only requirement is > ability to provide an AMBA bus > interface. Kudos to our marketing department to make that so clear and > so on... :-) Good to know, I couldn't find any users of the compatible value in DT sources, so I had to guess... and missed ;-) Do you have a good suggestion for a platform dependency? Based on the above, I'd say "depends on ARM_AMBA || COMPILE_TEST", but (currently) ARM_AMBA is selected on ARM or ARM64 only? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds