From nobody Fri Dec 19 19:39:53 2025 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [195.130.132.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D76F16191E for ; Wed, 29 May 2024 08:33:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716971605; cv=none; b=UeHHdFy46MHZAPYS73q83f0iv2uCjmRDDKFvuuQZiwZJ8uOnHbEyAl0l6hjBlxXW6M4jY9Ot5eiGuBGFgUmb7fvBFCyZ66T28B2BnKUpjnAmgJSd5lgKRqJyw+3DFn3ZLlMIGSyPsLpqACAxczRVPRQ4CMc17BmOcKfpxzKdoF0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716971605; c=relaxed/simple; bh=eMzrml96pA8Rq5XFAWlTKhSLVds9dUPcBcITLrRcHS4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=YnlIATIMyEzt9GHUfFA/MBNv7rV7hkNGnIHQjTbDPTDhEjbkyBukJdvy3Hl8kIxbYkRTX394eg1gK0rmJ4xH7pi/5C/A/IfeVAF23tjkrU7iMjY0VF1uSTYj6TJzngZHpoqX8hrcZvtnJbicLHyJk9rieBpaFnhGq9wRjfJWPoQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =20 config ARM_MHU_V3 tristate "ARM MHUv3 Mailbox" + depends on ARM64 || COMPILE_TEST depends on HAS_IOMEM || COMPILE_TEST depends on OF help --=20 2.34.1