Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3822875pxb; Mon, 1 Feb 2021 05:46:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZinqWcSkZ94bj4H7kiQbDqpJ3V1GzGwBb8i+R/nrxsazsJF6q/Ta/CGaOsOGdB2M/2PG6 X-Received: by 2002:a50:85c4:: with SMTP id q4mr19057311edh.7.1612187209816; Mon, 01 Feb 2021 05:46:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612187209; cv=none; d=google.com; s=arc-20160816; b=uAbTsgt9U0MBeRluciRvqQsNzcnCbHi7lgnK+QBAY8/H8pN/jvW5wf0oG0Z38snlde apFisQTLtweBAulgZXMMK8l5YweENFoBoEknzivxZp1S/4ziL8A+eopkOoPi4SB5Y4n+ J0C6D/RbdHwG1wBh8zKkX+jw7G7UlGZmUULfq3LPk9Kz0oebqS3fuAWRCXvICxu+KViv 2lwO4f4GQ2YFoTwsYIpQ6SyM1EANzLaUKWH8LQj6ugy4BK36aFcJK0O+W5hpv/9NWe7e 78PEb09nHOCQlFCOYcBjhiRpZNTLJqoToHh/LSJKjqkP0ra75LnDvDRiDlb7uRe/dkr4 4EcQ== 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=qk2KNQsTrktk3cSdIUQ6zmd7Jc941VZqcNZx6n65cCY=; b=naBgPpUVJlwjvLYgzQYhsqIR+yuf86NWPieBszsxfsIF26qcYNLnj6acjlijdUexmB 0NC9rFfvR51jP6hLt4HbMK48uy5i02TDiwOAbQU3eo1LK3U9LbZMBRra/TyWTrldiKuL U3hkeA01hcAWRefFvWi/lFyQzy2WN9c/eD5DD+N7PmmsEjJodfky1LQyY36z6rvy2FZ0 rVxeSjHhw0leaH7Iaq2ddikweQb/quj16VSzgVl3kCZh/M6I0mIDQXCdRoRzofArZnIV AaXhAeRNRYpzSMIzSm1rOueEf3Yyw1GO3ypZWkfwE8T7raf3NRLnHg3+nGfsVl9FS09N vVBQ== 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 r30si4150805edi.324.2021.02.01.05.46.24; Mon, 01 Feb 2021 05:46:49 -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 S232031AbhBANpR (ORCPT + 99 others); Mon, 1 Feb 2021 08:45:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231849AbhBANpQ (ORCPT ); Mon, 1 Feb 2021 08:45:16 -0500 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18D50C06174A for ; Mon, 1 Feb 2021 05:44:35 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by andre.telenet-ops.be with bizsmtp id PpkZ240064C55Sk01pkZ5E; Mon, 01 Feb 2021 14:44:34 +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 1l6ZVI-002TCq-LI; Mon, 01 Feb 2021 14:44:32 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1l6ZVI-002vxi-24; Mon, 01 Feb 2021 14:44:32 +0100 From: Geert Uytterhoeven To: Srujana Challa , Suheil Chandran , Lukasz Bartosik , Boris Brezillon , Arnaud Ebalard , Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] crypto: marvell - CRYPTO_DEV_OCTEONTX2_CPT should depend on ARCH_THUNDER2 Date: Mon, 1 Feb 2021 14:44:31 +0100 Message-Id: <20210201134431.699419-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 Marvell OcteonTX2 CPT physical function PCI device is present only on OcteonTx2 SoC, and not available as an independent PCIe endpoint. Hence add a dependency on ARCH_THUNDER2, to prevent asking the user about this driver when configuring a kernel without OcteonTx2 platform support. Fixes: 5e8ce8334734c5f2 ("crypto: marvell - add Marvell OcteonTX2 CPT PF driver") Signed-off-by: Geert Uytterhoeven --- drivers/crypto/marvell/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/marvell/Kconfig b/drivers/crypto/marvell/Kconfig index 2efbd79180ce4b22..d4c4433c8db8244a 100644 --- a/drivers/crypto/marvell/Kconfig +++ b/drivers/crypto/marvell/Kconfig @@ -38,7 +38,7 @@ config CRYPTO_DEV_OCTEONTX_CPT config CRYPTO_DEV_OCTEONTX2_CPT tristate "Marvell OcteonTX2 CPT driver" - depends on ARM64 || COMPILE_TEST + depends on ARCH_THUNDER2 || COMPILE_TEST depends on PCI_MSI && 64BIT depends on CRYPTO_LIB_AES select OCTEONTX2_MBOX -- 2.25.1