Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp832495ybm; Wed, 27 May 2020 09:04:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBkLF4REjKnAyhBnjqv/Z99U206XVEykP0l1otqK9HxVbiyQc94LwdHajBFChVpdIUKJEh X-Received: by 2002:a17:907:1189:: with SMTP id uz9mr6574263ejb.53.1590595449930; Wed, 27 May 2020 09:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590595449; cv=none; d=google.com; s=arc-20160816; b=Nt5sA/+K9e3hMYBrv4l4kJlH7dk/2toagxB5ihAvXPcCh1hfIbvXKoyatOpcDeck+w 6/TUDoRY/wSGxDIceWcWE0tbzlW5rTy82idzqwjXw3k2Etzxo0UjnNx+cpTgOvjZ8bqN FVoa4S2TRhhEzD9jLr3F0w8Dvt+Yb+c8u0hanMJ55Zobsxa625UYoXDaE3wirPp/eIMU fb9z1tZ/1fvYafzbILo6ln4F2jNxCg8g8AhOzCuzOquDanQaQMuhy35NNq1OLzbgRjLm x/rf6+6tqbeptriHdAur7pAwhbUb1Pm1/8f+xYJp6GIqPKjaUbV8A+I9OoZupgJZUrH7 ZdDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=SsXlV/rgDTFrrXUJalPoVNZ98n5hnsjngLAn1tfFekY=; b=WTo2l8MYYs6FcEoS9aUjcnhT1gUYahkWke1DB7QFLq/aRdSHg1c9oLvANujnubf5Fw TEmrvbzSRFrYw7JPNDqoTCmARIhLxg2TPpqY3aUVVAJ8RDdXt64IH0s6qvSUGDmpZ+bl Pvni8Vjm3heiS1WmtnTY5KsR5MzJQsGpUzQk1m0HbUD/re7a/sFTvmNbuH1fnStyqgRq QnPhIShQ+yhy5bjyPP8FNLfT+hvFQC/2iHdfBfeHDt3Z6ZSshndiZt2WfrF0wEVAsWnc u0T8j0nwl5ipldTxQS0w9c7HMUhB5+coJocpdouSjhkNLrTqIPekLiUFd6MiQQpnm3gn SPbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AcsXCq7E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si1815796edv.49.2020.05.27.09.03.46; Wed, 27 May 2020 09:04:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AcsXCq7E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389538AbgE0PHh (ORCPT + 99 others); Wed, 27 May 2020 11:07:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388922AbgE0PHg (ORCPT ); Wed, 27 May 2020 11:07:36 -0400 Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7943DC05BD1E for ; Wed, 27 May 2020 08:07:36 -0700 (PDT) Received: by mail-ot1-x343.google.com with SMTP id a68so19382912otb.10 for ; Wed, 27 May 2020 08:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SsXlV/rgDTFrrXUJalPoVNZ98n5hnsjngLAn1tfFekY=; b=AcsXCq7EwHG1N0+0SWRUVIFbk/3NquQOmx4a/VcmD9Kbs/o1OQvhsENf9RS9TKSzju Z5nWYb4Zrz4xWteLMgJXRz922wxXPVXHjq1V2lVpdnUdSyrdXsx4kfrTOE+SZEenSeT1 +5MOdOcCEbY4O/NTk2mh586DXiQ1wKskpXEy/j7uoikthAfDBapueCIgAq00HabOzECV wMsHfbIasxiURozNytRXIe+IUgCOUo0vLyy8k+VUvuLBwAVqz4DoWLvgKCI6rHlEZwk3 a+TODCdzzH7bOJMRZTLcGnEkDqQSM7VMzelWERhBNd0O8JRRoShz2tuJuzHN9kN5gURn bl2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SsXlV/rgDTFrrXUJalPoVNZ98n5hnsjngLAn1tfFekY=; b=aQ7P3D+7XMv8LuNA7m2Flk0WQp1MfRMYvOv50AofgYZfNInxUKXd0cb+PIGLjmKZtc gxyxeYWVDSUJQIeWMFoMqVYd0GgsJEdkqL1ZRYh8oFKWZ7YVdayIoSHXSEm61HxrqVy4 fER0y/5blpvANTQRH3w4ibIgRXxjymqL69AJtDCabDajR/tUACakVGijNj2o8GA/gsm1 GyPY+A1u1c29iNFJ1/QAvNiG23a7+mGpOQwFGJq+ryrXd3drdGhzUzyCn35ZX2EtX2Uj XEGqn7NV3EbKx2xfR8hjEzkCoDbKNnwLX63j7lI0hCSr6eAP26lzSWi7VtLnerMkpEag Iwsg== X-Gm-Message-State: AOAM531t6IHZKw1GFM1qHO4wcxB7CnaQhVIanJKl6pqBsuk3ntWH1ynR fqEKFPI5LR/DUQ61+5q91xeXs89yGT8lMiLYpDBpNe8j X-Received: by 2002:a9d:6d03:: with SMTP id o3mr5047748otp.283.1590592055454; Wed, 27 May 2020 08:07:35 -0700 (PDT) MIME-Version: 1.0 References: <20200527133924.724819-1-arnd@arndb.de> In-Reply-To: <20200527133924.724819-1-arnd@arndb.de> From: Jens Wiklander Date: Wed, 27 May 2020 17:07:24 +0200 Message-ID: Subject: Re: [PATCH] tee: fix crypto select To: Arnd Bergmann Cc: soc@kernel.org, =?UTF-8?B?VmVzYSBKw6TDpHNrZWzDpGluZW4=?= , Devaraj Rangasamy , Rijo Thomas , Gary R Hook , Herbert Xu , "tee-dev @ lists . linaro . org" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Wed, May 27, 2020 at 3:39 PM Arnd Bergmann wrote: > > When selecting a crypto cipher, we also need to select the > subsystem itself: > > WARNING: unmet direct dependencies detected for CRYPTO_SHA1 > Depends on [m]: CRYPTO [=m] > Selected by [y]: > - TEE [=y] && (HAVE_ARM_SMCCC [=n] || COMPILE_TEST [=y] || CPU_SUP_AMD [=y]) > Selected by [m]: > - CRYPTO_DEV_QAT [=m] && CRYPTO [=m] && CRYPTO_HW [=y] > - CRYPTO_DEV_MEDIATEK [=m] && CRYPTO [=m] && CRYPTO_HW [=y] && (ARM && ARCH_MEDIATEK || COMPILE_TEST [=y]) > - CRYPTO_DEV_SAFEXCEL [=m] && CRYPTO [=m] && CRYPTO_HW [=y] && (OF [=y] || PCI [=y] || COMPILE_TEST [=y]) && HAS_IOMEM [=y] > - CRYPTO_DEV_CCREE [=m] && CRYPTO [=m] && CRYPTO_HW [=y] && OF [=y] && HAS_DMA [=y] > - CRYPTO_DEV_SP_CCP [=y] && CRYPTO [=m] && CRYPTO_HW [=y] && CRYPTO_DEV_CCP [=y] && CRYPTO_DEV_CCP_DD [=m] && DMADEVICES [=y] > > Fixes: e33bcbab16d1 ("tee: add support for session's client UUID generation") > Signed-off-by: Arnd Bergmann > --- > The regression was introduced in the soc tree, I'd pick this patch > up directly into that unless someone sees a problem Thanks for taking care of this, please go ahead. Cheers, Jens > --- > drivers/tee/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/tee/Kconfig b/drivers/tee/Kconfig > index 806eb87d4da0..e99d840c2511 100644 > --- a/drivers/tee/Kconfig > +++ b/drivers/tee/Kconfig > @@ -3,6 +3,7 @@ > config TEE > tristate "Trusted Execution Environment support" > depends on HAVE_ARM_SMCCC || COMPILE_TEST || CPU_SUP_AMD > + select CRYPTO > select CRYPTO_SHA1 > select DMA_SHARED_BUFFER > select GENERIC_ALLOCATOR > -- > 2.26.2 >