From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752840AbeDQTx4 (ORCPT ); Tue, 17 Apr 2018 15:53:56 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:32771 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752387AbeDQTxv (ORCPT ); Tue, 17 Apr 2018 15:53:51 -0400 X-Google-Smtp-Source: AIpwx48GPBch1cASA0tA2CmD3zJZf5W3J36kzpdwO1XcicMwTCzwVkOqWtX8K0e5JCFAh0Ookf/GLEJGJdQRvjCpxio= MIME-Version: 1.0 In-Reply-To: <1523988865-26848-1-git-send-email-geert@linux-m68k.org> References: <1523988865-26848-1-git-send-email-geert@linux-m68k.org> From: Arnd Bergmann Date: Tue, 17 Apr 2018 21:53:49 +0200 X-Google-Sender-Auth: _xHoiGaCZOo0Wgc9oVivLc3EA4c Message-ID: Subject: Re: [PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE To: Geert Uytterhoeven Cc: Gilad Ben-Yossef , Herbert Xu , "David S . Miller" , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , 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 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, and doing so will increase compile coverage. > > Signed-off-by: Geert Uytterhoeven > --- > Is ARM || ARM64 OK? > Or should this be limited to either ARM or ARM64? Or something else? ARM || ARM64 seems fine, but don't you need '|| (HAS_DMA && COMPILE_TEST)'? I assume the HAS_DMA dependency was added to prevent compile testing to run into a build error. Arnd