Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp573510lqb; Wed, 29 May 2024 04:48:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW96L7oapOJIf9NZqWWV9NePS3PjdncYUiksufPLjoHdSpCOLrm+Kk8XW1541accwax+t5bdvEzWs05yD1aV0gI/fdmkwcpVU58ACCiUA== X-Google-Smtp-Source: AGHT+IFu4ZJCpUc8l19Gc/llosTDRU6l1FLtPbeLFFECuga5W9yKYh6NB00FZBdtEeRG7Jp0ExIq X-Received: by 2002:a05:6a20:6a27:b0:1ae:4266:b39c with SMTP id adf61e73a8af0-1b259a4d928mr3111554637.17.1716983329714; Wed, 29 May 2024 04:48:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716983329; cv=pass; d=google.com; s=arc-20160816; b=VJGeZkjemaB6ORDndqLQwHLQD5Vpi35YBz9GYeLLyLoXtaIqgXhfIL5ydKyc+6c7YY tMfRcZgFBdJmQ6gXr3r/fnuj+rq8TepeWovuvzhpvEBrsQTzO/dj5sfmrGq+GBnbFXpw t2XjGIn8cFnH9WkH/x/p1HjJRwsSmS4FlK8roOSLH7M7LTSAQp8gptUX+LAVMPsCPpXJ sNY34h4ozE6PRzHhcv4oolLlshZWuRJCqY015ItD4CE4uHlfhY90yTLbonZp30h6CGGv NflD1WenKwUaYg+cXcN62gERUMWX5mHNIOtJG0k2DQY8XM6FJzOsccxjpeBM6sJ+qJQ0 3I3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=4HjJykiycRg1Poua0fEnjPuEzjzXCQPep/y1As3YJbQ=; fh=CKpxmnKcOXZN0WRqVPMR/GAijKxZ2SqPsIghNgsU1dY=; b=hMZzJHSDn4vJ3BUduJ01qstGykwgEw8V/HYXw9ILTuUqZs66VNQ2jd/JCvwXcys/tQ 5t6oIYdhSmyXx/A9sWipJ9E7dYSjopTHwLvKupkwEnbXEVxMK7aLemct7qGikVMx4oy+ HqlOvzptfiLTqh8WYxzwu3mb0yFHrp6nsq7Olz4N+Ubixegexi6EJj1Ld65N3ItwvFcu SmXCYNzpPgF0HpOZAO0G4xYIUqUzIec3VjxUkDxJs76TvWDMg4Pdaq5dA9KsTViRCuCe EiH5+Dc754hkBOjE2kAN7ahKiEDxaqShqoj/+dCBNLjMhHNwa6ecRjiPmSaEqJQdyrd9 MbaQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-194039-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194039-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822a98fd0bsi9766426a12.767.2024.05.29.04.48.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 04:48:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194039-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-194039-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194039-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 574F3284765 for ; Wed, 29 May 2024 11:48:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C5501802DE; Wed, 29 May 2024 11:48:45 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ECC7D13DDAE for ; Wed, 29 May 2024 11:48:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716983325; cv=none; b=I5Rvq18TK2Nzj793Uvr5ZIqgomw/HC9GKEIXtT50s3KEzWhrceGlaybIQzeBAezBbaj6OMQqixlIcV5/TJoBB3yiq9bVWlERUVTdSgjlMlJ/y5Cah94yX8WtpAbi8OtPdBtQ6JuVLWDCgSWxBqvr856QRNsyaioSZUu2fnD+dzs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716983325; c=relaxed/simple; bh=2mDZUXMSLDBIPCh16+epzZP8Y3IzRgJRHYxvEmw+Z8Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=K6iJMx3NN2jnSWuTKOezn5YWOl41oINmevIRpiAPjIsrKXobZiqfxEKYHUWxoYidG3gBA6xiSYraCLalZyfVhqDAwWgTaMeWW+zkGUsNOJT/Lpja3paILqMe6nsHLGiUzYZcGzYCGrv7395R4pLEyJ7WfJCGOK+jskETXJJjFck= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 52932339; Wed, 29 May 2024 04:49:06 -0700 (PDT) Received: from pluto (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A81B23F792; Wed, 29 May 2024 04:48:40 -0700 (PDT) Date: Wed, 29 May 2024 12:48:37 +0100 From: Cristian Marussi To: Geert Uytterhoeven Cc: Sudeep Holla , Jassi Brar , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mailbox: ARM_MHU_V3 should depend on ARM64 Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, May 29, 2024 at 01:36:42PM +0200, Geert Uytterhoeven wrote: > Hi Cristian, > > On Wed, May 29, 2024 at 12:13 PM Cristian Marussi > wrote: > > On Wed, May 29, 2024 at 09:30:45AM +0200, Geert Uytterhoeven wrote: > > > 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. > > > > the ARM64 dependency was dropped on purpose after a few iterations of > > this series since, despite this being an ARM IP, it has really no technical > > dependency on ARM arch, not even the usual one on ARM AMBA bus, being this a > > platform driver, so it seemed an uneeded artificial restriction to impose... > > ...having said that, surely my live testing were performed only on arm64 models > > as of now. > > For that, we have COMPILE_TEST=y. > > > So, I am not saying that I am against this proposed fix but what is the > > issue that is trying to solve, have you seen any compilation error ? or > > is it just to avoid the user-prompting ? > > I did not see a compile error (I didn't enable it on any non-ARM > platform). > > But it is rather futile to ask the user about (thousands of) drivers > for hardware that cannot possibly be present on the system he is > configuring a kernel for. Understood, as of now it is certainly high-unlikely to find such an ARM IP on a non-ARM SoC and I suppose that we can anyway drop this if ever the day will come that such a system will appear. Fine for me. Thanks, Cristian