Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1965893ybe; Thu, 12 Sep 2019 02:19:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5cgwjxFTn5jhIOjAtS9UhtxaSlAxDWCPIFvVSm5lvwV7sE0HfMzHMrJCA4mQQGtXRrUzw X-Received: by 2002:a05:6402:3ca:: with SMTP id t10mr41177348edw.271.1568279997557; Thu, 12 Sep 2019 02:19:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568279997; cv=none; d=google.com; s=arc-20160816; b=yL+3Rd5blJAOZWvc8zZZ8f3W1bcVm9cdgItWcKQdciH8etshBgv/EYZKqqVKMdUGJM zeYI6zXhZqFCrqIcst3Eu9FO3RePTLNEq1NZUEnjhCzHFtNZnfnogcUMhvRQ/oEFp+c4 nzGAvrJG5jnCs+sUbz23+3H9sAVc8XvJDfXQx3e3o8Y5hd8t8R4BUCvdzNrLaSmz2pXR Iz5Z8cfAaXgxJqbwKUdOlGMuYXj8N9nPHmUcTgRztWR0nZoRCI98S4RE3HOVxg287BuP p3H1f/eb5tJDnDHMXSC2mB7kT3vXHYzqFrbIYh8o1UbE0FAP0wRLpdr9ttnRt9bukRrH H7Aw== 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; bh=3v9vNWScPyFQpJOj2uC5NrtlNxn+puyxlyM0L6NxVxI=; b=KSd54xk2Aeu0fs/XDKZIhiJRPOln7kshn6MSivpDG6pB1dFIDgMfMHtBXE19n1s01K 2OLpn2Eagjxy6RRT9cO4K0ToBdl+EOt6kMO/VeuI3gk3WcEHfjyurkf0MRMu234AaupO WMI04o2OuN8efHi6M819UVANMKRag75NaoMnuPMNJS58i09h8HjRdXqhZix7RF/n2eHW Xz7Z8j19To/bWwOqhGKDyltFL7Rs8FGd2kE5W/lFYMp3xaERMzctZxs9Zsh4agsy5fQs UpJo9pf0m9zEdlONXjG3uh2ne5jUv7tbbfR+2kdb+OvCjgJo1GqsN+xWjZ2PKfiFKVKm SDvg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11si12865300ejf.277.2019.09.12.02.19.34; Thu, 12 Sep 2019 02:19:57 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730581AbfILJRc (ORCPT + 99 others); Thu, 12 Sep 2019 05:17:32 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:38554 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730386AbfILJRb (ORCPT ); Thu, 12 Sep 2019 05:17:31 -0400 Received: by mail-qt1-f193.google.com with SMTP id j31so1903930qta.5; Thu, 12 Sep 2019 02:17:30 -0700 (PDT) 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=3v9vNWScPyFQpJOj2uC5NrtlNxn+puyxlyM0L6NxVxI=; b=DFv/JSkSm/ASw4AJkKifQYAoWJFeMXObeBn8sY9QUNG/hhjudK0jJKQ9qvoQEecqGc KWYfQy+yvkbZPvcJfQlLeGSVP10sbMBL9plVaneFAjbJSHII98yV6ENsgvXwTzdNDZc/ z1Hbexj7eSxCZvQ53ZHhmSohkRAUms9BS9t1jQCqKTCpOGw2Ng0p0TmNiGqBhs3UoVVu GWj/hTUfXaREysSdtwBWvw7MRPWob8HNuLRN75nMcny1oKoy5e/MC2WWgb9cmNNekQSI YjPmtVR/sKL0IiC4CsiIn9QGH7M0zw5IM4hIGoBQ3WsK5wxZqF6zhHXJc2CeQgvwp0/n siWg== X-Gm-Message-State: APjAAAVD+S4ClH2PeD0dqlUQbrb3c14rBsb54KvijjW73m0tNKunO4o/ A9IEHne/Ocnp7Tzlj6ZA+jn9ofD8/5wTv1tgtFp+CHOhr3o= X-Received: by 2002:ac8:6b1a:: with SMTP id w26mr39336977qts.304.1568279850382; Thu, 12 Sep 2019 02:17:30 -0700 (PDT) MIME-Version: 1.0 References: <8f539b28c25d22b8f515c131cd6b24c309f7ca90.1568239378.git.amit.kucheria@linaro.org> In-Reply-To: <8f539b28c25d22b8f515c131cd6b24c309f7ca90.1568239378.git.amit.kucheria@linaro.org> From: Arnd Bergmann Date: Thu, 12 Sep 2019 11:17:14 +0200 Message-ID: Subject: Re: [PATCH 3/4] arm64: Kconfig: Fix VEXPRESS driver dependencies To: Amit Kucheria Cc: "linux-kernel@vger.kernel.org" , Linux ARM , 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 Thu, Sep 12, 2019 at 12:19 AM Amit Kucheria wrote: > > Push various VEXPRESS drivers behind ARCH_VEXPRESS dependency so that it > doesn't get enabled by default on other platforms. > > 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 Removing the 'default y' breaks existing defconfig files, Adding the 'depends on ARCH_VEXPRESS' unnecessarily limits compile-testing. I'd rather extend it to other architectures than limit it to builds that have vexpress enabled. > 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 It's definitely wrong to limit this to 64 bit. Arnd