Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp3183978pxb; Tue, 12 Jan 2021 08:18:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJwva8Y1/r9lcYKPgTCPjmZAReVTyViIv+TisEGrqq54YP7lDdZ5T0AgzedkpnKoy6GKkOJW X-Received: by 2002:a17:906:f0cc:: with SMTP id dk12mr3861432ejb.480.1610468318472; Tue, 12 Jan 2021 08:18:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610468318; cv=none; d=google.com; s=arc-20160816; b=Ec6ityenz6lgdA6auQYduwWa489PfQOTmzdcgOI4W+M71ZR9zTBkfHVNna5HbVoJPL YuafvG4J3rypM2VV8nKcqYVoA6hFtlLDHwWcMBzz/kwMdgljZrUfxBU7sV1Id677eN0R okNlDHpFrOg8B931s8ePvFCoKZvSNMmFOF8MlB5YhNYKM5UwPotffu3RgGfoANAVYbIF 2A9mIeEeS6TbhWu7idfsXhkUkHkjGJ7rk7sxiaYcCP01lLU4aKji2wMnFOab4WFrbQen OKowD/kwU028WjnICKzP16Yd0qR6SRuYQhL4HmetiQvZKOsa37ZP/RQYEMRp6kF3p9tR IE7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Ni7TrVpHh8twJApDz8iHu2zsPqAHyP7yqdvs/CLa3L0=; b=Js57xZ+nA6aRgSIm/72l1ZI1CNOUQmbj2upjbnr+ec8YlQ0Eh5v746IQVKQxynS5T0 ImCbF8oHW+ValW/ubK6vtMumo3YEtuS2yOYAbxL+kV0wFWpi/iusN+7pXTgj1h1eBfhg ZDn0oMAPebfFUR8r8aUfj5FUw2N3ml9FTwJ6jNqxVhf29BKBy1cTeQ0wd/oY6dlgB65j uTrofSfWDY5zqCWu2NhrV+g+v3BtZsTYxHhe1QUEX/Jq764vRW1VHaUt9P3SRaZxhI9S 9rZVs8bwdWAaTmLOTEbzPZUWRXO+def5YRIpH23R4ths7ciTsM114jVixm65bETURs4j +AJQ== 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 f11si1273424ejw.546.2021.01.12.08.18.14; Tue, 12 Jan 2021 08:18:38 -0800 (PST) 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 S2406169AbhALQQ2 (ORCPT + 99 others); Tue, 12 Jan 2021 11:16:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406165AbhALQQ0 (ORCPT ); Tue, 12 Jan 2021 11:16:26 -0500 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F16B4C061786 for ; Tue, 12 Jan 2021 08:15:45 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by xavier.telenet-ops.be with bizsmtp id FsFi2400C4C55Sk01sFidR; Tue, 12 Jan 2021 17:15:43 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kzMKb-0037ih-TH; Tue, 12 Jan 2021 17:15:41 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1kzMKb-004eW7-02; Tue, 12 Jan 2021 17:15:41 +0100 From: Geert Uytterhoeven To: Daniele Alessandrelli , Declan Murphy , Herbert Xu , "David S . Miller" Cc: Mark Gross , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] crypto: keembay - CRYPTO_DEV_KEEMBAY_OCS_HCU should depend on ARCH_KEEMBAY Date: Tue, 12 Jan 2021 17:15:40 +0100 Message-Id: <20210112161540.1109016-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash Control Unit (HCU) is only present on Intel Keem Bay SoCs. Hence add a dependency on ARCH_KEEMBAY, to prevent asking the user about this driver when configuring a kernel without Intel Keem Bay platform support. Fixes: 472b04444cd39e16 ("crypto: keembay - Add Keem Bay OCS HCU driver") Signed-off-by: Geert Uytterhoeven --- drivers/crypto/keembay/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/keembay/Kconfig b/drivers/crypto/keembay/Kconfig index e45f1b039380feaa..ce0516e32ce4ff82 100644 --- a/drivers/crypto/keembay/Kconfig +++ b/drivers/crypto/keembay/Kconfig @@ -41,9 +41,9 @@ config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4_CTS config CRYPTO_DEV_KEEMBAY_OCS_HCU tristate "Support for Intel Keem Bay OCS HCU HW acceleration" + depends on ARCH_KEEMBAY || COMPILE_TEST select CRYPTO_HASH select CRYPTO_ENGINE - depends on OF || COMPILE_TEST help Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash Control Unit (HCU) hardware acceleration for use with Crypto API. -- 2.25.1