Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1450243pxb; Wed, 12 Jan 2022 15:17:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMdgX9NfjgU7C0VdZcbQ7CbjXFuTrz3m53HBB/8pYsVNKb6qBHPzD28EmFTR26ldJQ1X0H X-Received: by 2002:a17:90a:3846:: with SMTP id l6mr11638372pjf.7.1642029420015; Wed, 12 Jan 2022 15:17:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642029420; cv=none; d=google.com; s=arc-20160816; b=gVsqj8FFBCS9I0tSFtqK7vMz8eelnnWyFz7MSJhBbYHVdHdquvyeD7ncWLzXxz6Bqm W7UjHWsFwGcJn4/JiwoMuanwlfXlWe8Xbk2x6Wqd2vWIFUecxHOY0cpVItNvgSP9vpOJ 5nNK2uqqloVmmeWzRI+DVRz1OBtCrlKddBYs4Qvu9s67V11Iogsl1Ye9IkE0zan4Hpn2 AGBCSCjzo8FDS8xR7TWJ8/FipIKDN5svDnj2gOQJS+4NPPXRh2INkiVNPYy2ItlerDfM lnfvrCPqatgt2gnO0ymIRAWt/+xt+HVKHqeSXpJhRntbx214OgoErSWkkjjONkY826hL 7sTw== 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=V0LuLy5nfbeI4jQZmECRCNYecI72i6Nke4JZs/CIk1Y=; b=DIoVfng0h57YHmL5E3lIaMdUWb6tHH0vK7pf+JQXi8v1JJFdNa+fC6IJJl3tvjN4wB CA2/gEZKNN0D/52F1W4RBSiAwngKOIUbTXMVCK28YWaaFGLhke43QfsyE9qx8FyOQI7F NBYsoQZVAHCy1XbScertaSXpqmAR1kgpcsMBVyX/fizbxYrUNm/ROBDBQTdxExyA1AZ2 gTbGe3hJGMZQwVHbknkrn8tj93NyDOA3QEJx4tH1yvRC2GqJG2+VLLJOV1/1LWpfQbbJ k9zL3csQMErsMlLsr+tZHvCD2ZwqIBB9CYohYlOvNM6qz1vQYKcuVijnwqQ78/UOyOIx 3dyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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 b20si982914pjp.15.2022.01.12.15.16.47; Wed, 12 Jan 2022 15:17:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353945AbiALOFJ (ORCPT + 99 others); Wed, 12 Jan 2022 09:05:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242427AbiALOFJ (ORCPT ); Wed, 12 Jan 2022 09:05:09 -0500 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEF00C06173F for ; Wed, 12 Jan 2022 06:05:08 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:76d0:2bff:fec8:549]) by baptiste.telenet-ops.be with bizsmtp id hq56260030kcUhD01q56ZF; Wed, 12 Jan 2022 15:05:06 +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 1n7eFN-009GXL-Iq; Wed, 12 Jan 2022 15:05:05 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1n7eFM-000Vs0-KO; Wed, 12 Jan 2022 15:05:04 +0100 From: Geert Uytterhoeven To: Herbert Xu , Ananth Jasty , Omer Khaliq Cc: Arnd Bergmann , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER Date: Wed, 12 Jan 2022 15:05:03 +0100 Message-Id: <1c4148e1aaa4d89754ff810386dee8c22bcce4b1.1641996225.git.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-crypto@vger.kernel.org The Cavium ThunderX Random Number Generator is only present on Cavium ThunderX SoCs, and not available as an independent PCIe endpoint. Hence add a dependency on ARCH_THUNDER, to prevent asking the user about this driver when configuring a kernel without Cavium Thunder SoC support. Fixes: cc2f1908c6b8f625 ("hwrng: cavium - Add Cavium HWRNG driver for ThunderX SoC.") Signed-off-by: Geert Uytterhoeven --- drivers/char/hw_random/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index b33c01e9935336f7..263861c88fcc7e98 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -414,7 +414,7 @@ config HW_RANDOM_MESON config HW_RANDOM_CAVIUM tristate "Cavium ThunderX Random Number Generator support" - depends on HW_RANDOM && PCI && ARM64 + depends on HW_RANDOM && PCI && ARCH_THUNDER default HW_RANDOM help This driver provides kernel-side support for the Random Number -- 2.25.1