From patchwork Thu Aug 29 13:58:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13783293 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 B273CC83F25 for ; Thu, 29 Aug 2024 14:00:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Et2PdJcysQzM2+qBJ+8TP5CpOtCEcnDYzUIV16+iWC8=; b=YJmXzmvNPxTZKCwK2JyAvcLIC3 aIyLmrXFVBbDJitWOTH54nfUYbT8FXvQ2gKDjNG314TnViIRA+fNkoHNbJcKUjcwp5huXh50FfDrF 8gY+VJuGWOOasuCeQmE8qdlf3EDdv02+x7yfb2uaaBAFPZnzoRwW5gtCRARH/aiWilV+4VFURmrUL rpxIcGlfgIjV1nHCdT1U0OYcPxt51JdoI7QsWdZUCa7np3AToM2VCsWh+L9BMZR4K/gFtwCqigoiA DXim+/b8IncG1F15o/XbGG5I7spVmtjtDvnhPYq54o09YT88t/U7L+C3LISLNXd4GSuqTi2yFVww2 nVudcZBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjfhJ-00000002ILB-2jmT; Thu, 29 Aug 2024 14:00: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 1sjffz-00000002I4X-2edx for linux-arm-kernel@lists.infradead.org; Thu, 29 Aug 2024 13:59:05 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:fbdf:b855:e99a:9ec0]) by baptiste.telenet-ops.be with cmsmtp id 5pyv2D0010Yrr4n01pyvfB; Thu, 29 Aug 2024 15:58:55 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1sjffo-001GSq-5f; Thu, 29 Aug 2024 15:58:54 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1sjffq-0002Ze-SV; Thu, 29 Aug 2024 15:58:54 +0200 From: Geert Uytterhoeven To: Jassi Brar , Cristian Marussi , Sudeep Holla Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH resend] mailbox: ARM_MHU_V3 should depend on ARM64 Date: Thu, 29 Aug 2024 15:58:53 +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-20240829_065903_830030_9EB176FE X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. 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 Acked-by: Sudeep Holla --- drivers/mailbox/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index 4eed972959279a07..cbd9206cd7de34c5 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