Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp503670lqb; Wed, 29 May 2024 02:08:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVX7pfumRi30YQ5JI1nojGEytE+xsq8FbQGdAtbgSYjLqVoo4hxO68j5uKhl6CroKbaEGxerivHLBU9pZBa5NMrWamY1Rz30yq3/mVUzQ== X-Google-Smtp-Source: AGHT+IE1M307Cneb7UndwKhKdg6vt4PRGljg/2t581xWZGRAmkPjURWDTpAoGGK6PThjXK5wC+5l X-Received: by 2002:a05:6830:3494:b0:6f0:e1d0:7d64 with SMTP id 46e09a7af769-6f8d0a86cd9mr18340656a34.20.1716973739318; Wed, 29 May 2024 02:08:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716973739; cv=pass; d=google.com; s=arc-20160816; b=eEW3b7c91aGdJA8/rdBzTuXblBqOO1tt/lhpGQtjK6vWH3yMM8LaTqbQTUvsjh45rr mh3DrREnxpTntfq/CqpLraM6roidozeMmSJ/6wZoLdR6jxoGjo4Mg1U4POx+75WGXggR I7e+GPWFiFqXXlacZEM6pMhQ6QdVtF21w04tj3EG8N5imrOrcDyKEOLHoJeTtBI68dpP d4brwiJQp2+CarjJE7d00Gq4JgGVCPGntG4zQOFXoedmAAoxtJwP587ejq/fwShog9Rm BKPnDSMpKZsvcqHDQJTsgZNHao09DjcrHIQtKg9s30DcFTEDD4WgLXb4Yayoc2iN3tvQ YCvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=jv+nY8LtNPv4/5kU4SQwR13Q3nP9pNoEH61P7ASUwLc=; fh=v4d1MvhmGTGUdZHeUr70a0sdOoz8rY3JcLKBW+L34Vk=; b=Kh1nR5rabtU8RlHDxikLG+9uXNV8xkd0YFjFyWFRyzD0aeznYdptzdtob9Dm5V5s/E yeC89HEj2yw/u4cWBlVopNLDIj/dZZl24Bn60UnWmllGmrduZozisK3xfGUqO/8sXhZe qVoz/dLpireLp8sqi0rf3EW4h4j1B9sTRdOUcF1kqLTuwKAv+OsBCSEM58u4SIpmOwUl 8kBzYwc3+KQKRxsovpkBowJWk99v3qBExKuHN1E0VjCmxTejT9ia7lM3FjJaF2bnx5gh XJWLT2ZvpomchIQHl3KGvoOlhAhJr0aSbGejDUX1G2hiPDnxWHYKZEd8bBdW/EmF2CnV cXkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-193758-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193758-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822779b939si9824446a12.319.2024.05.29.02.08.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 02:08:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193758-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-193758-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193758-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1710FB2F312 for ; Wed, 29 May 2024 08:37:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24C65171E65; Wed, 29 May 2024 08:33:26 +0000 (UTC) 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: 8bit 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 -- 2.34.1