From patchwork Wed May 29 07:30:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13678371 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 235FDC25B75 for ; Wed, 29 May 2024 08:33:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HJp242cq4p34x8Pt2HId0X9NMSibaIl3h9r7Rnq6Iyc=; b=rW3rfeILyX8s60 uCZ2hllGp3ZfXZNIezaqfpVQyg4Uceh/e22Jmxl4xmPKbFqLMKeLOxCU12sflAT2JiC9tdsx7Ax8+ o/Np3q710LwVQ4vNEN4KwCXRWPRf18CElLadCCqY+RQFog7bCtmrgusVIyPtn0uoalz9VSMWXK329 mDMcuq7TvYyga7ZsvOXUSGm1xT7IWSPj8OybtTkWwoKiRRS/MVY7zEuS4co/WWgfRlk/9alVfhbHn oVNFnNs3FB7brwvxmvx2/git8kSjdvGmrhLN60ZRyGPTORfa2lLOVgye+m/oTTsUAymfSYLqvdbwZ S059OViwKYC65uIHAYbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCEkP-00000003PqC-3YL9; Wed, 29 May 2024 08:33:25 +0000 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCEkL-00000003Plu-0xCf for linux-arm-kernel@lists.infradead.org; Wed, 29 May 2024 08:33:24 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:1b01:1838:131c:4de4]) by baptiste.telenet-ops.be with bizsmtp id UwZE2C00S3VPV9V01wZF93; Wed, 29 May 2024 10:33:15 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1sCEjI-00G8ig-Bx; Wed, 29 May 2024 10:33:14 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1sCDlm-008nYK-Mv; Wed, 29 May 2024 09:30:46 +0200 From: Geert Uytterhoeven To: Cristian Marussi , Sudeep Holla , Jassi Brar Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] mailbox: ARM_MHU_V3 should depend on ARM64 Date: Wed, 29 May 2024 09:30:45 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240529_013321_464977_8CEA4B69 X-CRM114-Status: GOOD ( 10.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The ARM MHUv3 controller is only present on ARM64 SoCs. Hence add a dependency on ARM64, to prevent asking the user about this driver when configuring a kernel for a different architecture than ARM64. Fixes: ca1a8680b134b5e6 ("mailbox: arm_mhuv3: Add driver") Signed-off-by: Geert Uytterhoeven --- The MHUv3 documentation is unclear about whether this can be present only on ARM64, or also on ARM. Googling 'site:arm.com MHUv3 "aarch32"' shows no results. Googling 'site:arm.com MHUv3 "aarch64"' does show results. --- drivers/mailbox/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index 3b8842c4a3401579..8d4d1cbb1d4ca625 100644 --- a/drivers/mailbox/Kconfig +++ b/drivers/mailbox/Kconfig @@ -25,6 +25,7 @@ config ARM_MHU_V2 config ARM_MHU_V3 tristate "ARM MHUv3 Mailbox" + depends on ARM64 || COMPILE_TEST depends on HAS_IOMEM || COMPILE_TEST depends on OF help