Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp825125ybm; Wed, 27 May 2020 08:53:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpyxYx9aIZ4TRMCP533GkIn6oVnxvgHRWXkbl2IpxNAs+T17UqRigb6ZaqDxxE/yuitc6x X-Received: by 2002:aa7:cc0e:: with SMTP id q14mr25681701edt.64.1590594835817; Wed, 27 May 2020 08:53:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590594835; cv=none; d=google.com; s=arc-20160816; b=Ce9d6gYaZiy8EKkWlR3S9W/e5dq9lDazJRJsgegI/HgEpd5p0ZBCT1f/u4iwtEFeJD SUMiqUxlL3XKrpCxSxGF47QUvkVoUmP5xv7JHZQSV6LCqFph4Xk7bWRkb8P4prucyIFn fkt0YF4e0YAlQve0GQYy0IijqmLwH2UrmOtmkrCGF05AgqQJ/YWwT58s7QbrL1S36zod ZZia7FvEy+pEt8gTJw4T4GYjlOwIVssZd9fdRQiZZ3ScS5nd9Qqu8UPX89joeeYXyZ0q k0323YJNb7Q6a98FxtvyiN2bISgTs5tYY2ZLt2TPsq2hP/C0gISiU0XLLvEtelT+Bmk1 XPpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=9aS8NqQt1Vb7UhP03FGHz+rh6VxHavc4M/nX5IR67EU=; b=b7IDTIQafIyHDPT5migRvnqt4hK5ikLREcu2EV1RNVltOlAQHcdvwh+QkDheJKnS9R sTVFa3mElR9OVaBCiey0j+58+/R5W0Uspj0X1IpoNWh76+bm09kq0zSJh53+ssz0Rkn/ 0wVoZazLkE9zzp/sG2NHjIMzRWWEtwhJifZkkzoWklJGY47VPHGaNjFPBwm4EtxsIZNP P0E2Q3sOkjgzfdtAJnoD1jhA3tPBOwvKaadTzONA0oiIySwrBAqfM62xHNmSHemiSldB a8dLoBwXAOa+MbXyW1kzM+US4UygYmnh39XovF6V5BUp9EL3qoIGFPkfpUnJrlZWYYWq ss+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cm12si1719462edb.565.2020.05.27.08.53.33; Wed, 27 May 2020 08:53:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388374AbgE0Njm (ORCPT + 99 others); Wed, 27 May 2020 09:39:42 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:54817 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387682AbgE0Njl (ORCPT ); Wed, 27 May 2020 09:39:41 -0400 Received: from localhost.localdomain ([149.172.98.151]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1MlsWZ-1jDMy53Blj-00j3fQ; Wed, 27 May 2020 15:39:26 +0200 From: Arnd Bergmann To: soc@kernel.org, Jens Wiklander , =?UTF-8?q?Vesa=20J=C3=A4=C3=A4skel=C3=A4inen?= Cc: Arnd Bergmann , Devaraj Rangasamy , Rijo Thomas , Gary R Hook , Herbert Xu , tee-dev@lists.linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH] tee: fix crypto select Date: Wed, 27 May 2020 15:39:16 +0200 Message-Id: <20200527133924.724819-1-arnd@arndb.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:P+KwT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Jtdk7j8zXRFgfdgHaMTwQ8yRJaOyOdBNf XufKNzcGopHz8Xp2g9CZt9+7tJGdG2repskAIpM//NyOqJwGF4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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