Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1794496ybj; Sun, 22 Sep 2019 12:05:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoYDESsbyL9Nhy8+S0cL5ArGniLxU3oqhszDRnb+2uJ0GbJUG7hnctn/oucuCWK7Qx4Evv X-Received: by 2002:a50:9384:: with SMTP id o4mr33132884eda.8.1569179127452; Sun, 22 Sep 2019 12:05:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569179127; cv=none; d=google.com; s=arc-20160816; b=cD09qbST7aDT4LF78uSqOnzwdyQeE7QNFNuEb1xEsKUUgMt3/MASpL7dxF3ltil9uR 0Rxgj5eDgbto+PdOwd/Dty76siHbO1eC8MQ4pXw2CwM3KmM83BGIYRaoqi9uRJlsMT7b kkc3LCf2xctnRWLqLo1k/ZQ98DNDgHNPPXVYcbXsyyoRBOTqGVLrZTbLH58qEI1h3IST Y0lNJSMQlumGP2/vCiWuCJGfkSvNZejbOz+HxA0GiFnzGhnIw/l3VpdEVfbVFVQXZAy2 CsGCe1r3TBXKMPDetxFFSvzd4T+6bRoYEqhJ/byWKHCjzJYfHOpFKl4LcfawfRt/t4jU dYjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=t1DVA3vKOlm/AZ8L4zulEE1hMXuljgOJAsGAyVpUvUI=; b=bsZJaAINpeHjI1Gj579Wt4QLhidj1wZFSooZ0OsY71aAUoqF0K9VFt5BEVEPaIsdv4 VIoCHyo3zauQqil/3oViklTebyPMSo/mBQoVkXFDCH3q9aT2qVme8JI3Sn33SdoJk/Gq z+R4sdIjI3y3i7iW/0PURMmmRLVXjSy48/lFv0AsPkIaPMwBJPiwngrXFmpHZvMcWj8J CGVEzPJwzijGst7LG3dA72Ix7WobeBgjeZodCaWe6lFKswUyu8ITxMgizprEmWBchOPc eP0drYWU1GFSWrv0M+tZU5jDa6a5jNjLD0L2UaP5pA+PwpsV0nkADb3TGbkESmFqwQrX 0wkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YUxS8rzK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o21si4087481ejr.208.2019.09.22.12.05.03; Sun, 22 Sep 2019 12:05:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YUxS8rzK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728664AbfITUMW (ORCPT + 99 others); Fri, 20 Sep 2019 16:12:22 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:46256 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726094AbfITUMV (ORCPT ); Fri, 20 Sep 2019 16:12:21 -0400 Received: by mail-qt1-f193.google.com with SMTP id u22so10052076qtq.13 for ; Fri, 20 Sep 2019 13:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=t1DVA3vKOlm/AZ8L4zulEE1hMXuljgOJAsGAyVpUvUI=; b=YUxS8rzK+f0gbi1Cu0GWV0MhZV0YpDvHEnfJ4R8mcMrXdyvN91fGs0GZgDxvaGqP/m KpoMUYs+uf0bq4QbaK9tVHYnq16V1te91foBq4Qnk6EdJi9dXmaVjil+q5LdeIdWgppR UujYQE/f8DTiORI37BMmMNemWvW1tl3Vf5qTRc/feiWdPr1yMbJkG8AwT+fjyt4M67jL 7btY37HOE/cfp8/BA1Rjf11cLr9Yv1P76R2jUQNTph0AdSUCDPBvn+Ncs33PCrsiqGEf Zdm0/Ik8AUEMg9tShfWSUnr6VwNcKH3rC/IuxqZ9okbs7uRHiOAzAMrjb5HDyAekYvOl SmFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t1DVA3vKOlm/AZ8L4zulEE1hMXuljgOJAsGAyVpUvUI=; b=QoZn45abjglGzAfHqZzVoH8jiJX3gQ3ieKEmwUUuDqDmAe0ByUYg9Ef+eJ8jgogjnB AVH93YKtmq0hytyOTcRtRz3ZHmhk6MgC1F80EgHcPSqbjx8O1AKE8Wtu3OMlsDfM/643 Ea2dmi9136FOmD/SbbmpO7S/mExCZI1tk59uYLsCY9iGnO9+EUPvdeUF8mMYN5NnPGal 2Q0OkIriUNLGogMlLTQo+139yq3xbvmBqzZqBHsJnN2gnfB89SwttPwfl0CapIVZHPyH u2R0DtSlInrkavTUBs8aytWHCfZsxPXZst7/RkPD8rXPPStow69qIAYfqUCA1SO7lyz+ n0Rw== X-Gm-Message-State: APjAAAUTXAMCcFkNgclSomiba9epnbnDn9X9THfrOQfw9zcKs1dGjxQJ 4J3yS9hZF3XQ8UMCtOiEPgmbR1KSrgYZyrE5N+PMVQ== X-Received: by 2002:ad4:44e2:: with SMTP id p2mr14478831qvt.126.1569010340743; Fri, 20 Sep 2019 13:12:20 -0700 (PDT) MIME-Version: 1.0 References: <8f539b28c25d22b8f515c131cd6b24c309f7ca90.1568239378.git.amit.kucheria@linaro.org> <20190913101239.GB2559@bogus> In-Reply-To: <20190913101239.GB2559@bogus> From: Amit Kucheria Date: Fri, 20 Sep 2019 13:12:09 -0700 Message-ID: Subject: Re: [PATCH 3/4] arm64: Kconfig: Fix VEXPRESS driver dependencies To: Sudeep Holla Cc: Linux Kernel Mailing List , Lists LAKML , arm-soc , Bartosz Golaszewski , Catalin Marinas , Kishon Vijay Abraham I , Liam Girdwood , Linus Walleij , Lorenzo Pieralisi , Mark Brown , Michael Turquette , Sebastian Reichel , Stephen Boyd , Will Deacon , linux-clk Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 13, 2019 at 3:12 AM Sudeep Holla wrote: > > On Thu, Sep 12, 2019 at 03:48:47AM +0530, Amit Kucheria wrote: > > Push various VEXPRESS drivers behind ARCH_VEXPRESS dependency so that it > > doesn't get enabled by default on other platforms. > > > > I couldn't understand the motivation for these changes from the cover letter. Yes, the cover letter for this series needs to be a lot better. Sorry. In summary, I found a bunch of drivers in defconfig that were getting called in early_initcall and core_initcall even when the platform or COMPILE_TEST was not enabled. So I was just trying to ring fence some of those drivers as a proof of concept to see if these changes were acceptable upstream. Let me try again with a better cover letter and using the pattern Arnd suggested elsewhere. > > Signed-off-by: Amit Kucheria > > --- > > drivers/bus/Kconfig | 2 +- > > drivers/clk/versatile/Kconfig | 4 ++-- > > 2 files changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig > > index d80e8d70bf10..b2b1beee9953 100644 > > --- a/drivers/bus/Kconfig > > +++ b/drivers/bus/Kconfig > > @@ -166,7 +166,7 @@ config UNIPHIER_SYSTEM_BUS > > > > config VEXPRESS_CONFIG > > bool "Versatile Express configuration bus" > > - default y if ARCH_VEXPRESS > > + depends on ARCH_VEXPRESS > > depends on ARM || ARM64 > > depends on OF > > select REGMAP > > diff --git a/drivers/clk/versatile/Kconfig b/drivers/clk/versatile/Kconfig > > index ac766855ba16..826750292c1e 100644 > > --- a/drivers/clk/versatile/Kconfig > > +++ b/drivers/clk/versatile/Kconfig > > @@ -5,8 +5,8 @@ config ICST > > config COMMON_CLK_VERSATILE > > bool "Clock driver for ARM Reference designs" > > depends on ARCH_INTEGRATOR || ARCH_REALVIEW || \ > > - ARCH_VERSATILE || ARCH_VEXPRESS || ARM64 || \ > > - COMPILE_TEST > > + ARCH_VERSATILE || ARCH_VEXPRESS || COMPILE_TEST > > + depends on ARM64 > > This will break 32-bit platforms. > > -- > Regards, > Sudeep