Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6788901rdb; Fri, 15 Dec 2023 08:19:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBChZOaZUsWm+8jiL4YbgANM/qWOkRZ75eS3v2pWvpilGQ9ya91QRJl1AE9INibuycM/90 X-Received: by 2002:a17:90b:50c:b0:28a:f567:5814 with SMTP id r12-20020a17090b050c00b0028af5675814mr3084417pjz.11.1702657172440; Fri, 15 Dec 2023 08:19:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702657172; cv=none; d=google.com; s=arc-20160816; b=OtESHYb79Bw1kGFW+3t3YhUp6sc29DTH1GUSTtUO0AQVzJlBNV3APW4wgSt1g6p1l0 GF8XVLRHHiNGK8J5hh0VTJDP3TEAC6iSkJdnsLGWOkC5TZWQHdDxnZgm7YEeSLTKJkXS v86/F1KgLGM39j42o6aix71X2Uno1K+iWEP1rlaWyFlensQgcY4zonLma10/c9fGZ1sX hZZ+LpyQbBSYIOCbsVdsoVIS90ZqjaYDHZTBihkcLDavXgpOYaRw2k3zkI+GrmCC25rm u41The/UaBsaQXBhmR778Lir/yQm0ChiRVZ5w0H69Do3YFyIqeIl2CcGpexdV5Xv/xak ct3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=t82TArJIhgr2rGXPcr/sCEjpRBgQZ0Hez/ERf7cPeVg=; fh=y5zjHTNxnrpC6VKZfsfU4or9fadz4HY6TV4rNihy47k=; b=lL7DvXI8ULWc18cpQTDaS8IIfO7AWiVld3K62xwTJSN8fFQBah1IbSPf8DLitRb+7p hf98VyTSXk+OR4WHW/5qWnYP7EopFFqPWRSJFMyVdLKpfpSToArXWyhsQkfn4VoHb7b1 BfC6/3g+xkkzv7wNQ/ZrOeslduR3a+rQ2t8rNUbUwg32xuV7Zc+rACkXT8bj46J23uUl fNbVpGBUDHZ4IUrxympndAXTBnKXDdCl4mDrxJq7ISY34O1LHSAFfQWjq02qltJrs1Sm UTCzXuvbRiAz2VjiswuwF+ChJOK8UIxvpcnX9UefkXzYCtgO5hctajaKo0sg6m4pSxwi yvPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CtD0Es0O; spf=pass (google.com: domain of linux-kernel+bounces-1259-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1259-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t6-20020a17090abc4600b00286f3fe9e84si14520311pjv.45.2023.12.15.08.19.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 08:19:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1259-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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CtD0Es0O; spf=pass (google.com: domain of linux-kernel+bounces-1259-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1259-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id EFCA82865DD for ; Fri, 15 Dec 2023 16:09:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C69DE3A8E8; Fri, 15 Dec 2023 16:09:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CtD0Es0O" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D50A02FE32 for ; Fri, 15 Dec 2023 16:09:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC555C433C7; Fri, 15 Dec 2023 16:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1702656558; bh=RxoexFcGo01hQ+yyE3PtnCePfwaNbc++y3oIM5rldbk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CtD0Es0O5wUUdS90aWH8LEPGeialXBy/+5WZPzmSuffry5wqG91CNscPe+5rzZ4xy Bl5YSNyrkT2vPp9FpR02Fleiot3DHnNvp0HJo+PPvLAlqLhm5SQMct9b3KlJpBvKLe JUzuarz+vNHnHzvvkJ7dKhVW8Cizvuy85oiC8Qf8= Date: Fri, 15 Dec 2023 17:09:15 +0100 From: Greg Kroah-Hartman To: Rob Herring Cc: Nipun Gupta , Nikhil Agarwal , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] cdx: Enable COMPILE_TEST Message-ID: <2023121551-uncommon-negation-fdda@gregkh> References: <20231207163128.2707993-1-robh@kernel.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <20231207163128.2707993-1-robh@kernel.org> On Thu, Dec 07, 2023 at 10:31:26AM -0600, Rob Herring wrote: > There is no reason CDX needs to depend on ARM64 other than limiting > visibility. So let's also enable building with COMPILE_TEST. > > The CONFIG_OF dependency is redundant as ARM64 always enables it and all > the DT functions have empty stubs. > > Signed-off-by: Rob Herring > --- > drivers/cdx/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cdx/Kconfig b/drivers/cdx/Kconfig > index a08958485e31..7cdb7c414453 100644 > --- a/drivers/cdx/Kconfig > +++ b/drivers/cdx/Kconfig > @@ -7,7 +7,7 @@ > > config CDX_BUS > bool "CDX Bus driver" > - depends on OF && ARM64 > + depends on ARM64 || COMPILE_TEST Ok, good start, now we need to turn this into a module, what's keeping it from being able to be built as a tristate? thanks, greg k-h