Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp196638imm; Wed, 18 Jul 2018 00:07:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcAcOwLHfSxeYABq+70lhFRc1EO2mGEb9U715+w6g6PHvLtrWCMLH5y0ZPSGr8NaYnN0jYG X-Received: by 2002:a17:902:2702:: with SMTP id c2-v6mr4687616plb.297.1531897640330; Wed, 18 Jul 2018 00:07:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531897640; cv=none; d=google.com; s=arc-20160816; b=CH+/OkuPMrFxWm/GiVHXCe5vzzMmih9J+0RM0Y6ScJpu1iY6Em8ef0zyWjBmqrIYe/ fktLhcW2XOi1rM2IpA7ltnIDLRQDe4Nmq0k0BndbyaGSDfthIqrWox8HIpgLoB2xF46/ 8DAf2Vpap09LKLnwgZ5wSmxjQCs0D34/uByAzZRLyeu74k6ffuahaAMlSfR45n+wGSp2 D/dNFplsausK/EAb/JEGniUmio4nSPklAZsoUoycVEHDyiAwuQlg9YZM+BcPBgaLQiuC E+WiofEtd+pV6ZFs2zfpst7EIR2X3o5AuhxYmM3zpNLTtRjVEFXiVHS/T1lGiccBYs+9 Lb7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=9KqQvGLYTNkVWGy7DamzUDZd9kSxRENBo9pmNqB7mlI=; b=dQ+mXrVHVAmzp1mP+lz3EbT4DALECNlWMG8O3pVPEjPii6/GkSVcS8KRQC55MxMqFy jnpo1P6OfD6ukfaxkCfJVcF1umf0qIsczz9iwd7B9Dp80qk12qhau7RUhjMZGFSwnyjN x4ct96/6p8tX+AN/D6u+yjDQ24mCm5+kqHL5ThMvOebxJayKx+fDEY4HlDvRvKprdLMb 9t5cyEFvWZijTuNvgQXuV3/3N6110xbR+mzh7Bx+9cyxZx0lsni4Uug5KKiNagPNf+Vb dRj32NQOKjgTcjAbbe5NNtHIgUVPyRP4vDt1VHBYmLB+qqBtJf12b72DSJH95O2fPGS8 la1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=yZOOLHAa; 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 m8-v6si2559416plt.29.2018.07.18.00.07.05; Wed, 18 Jul 2018 00:07:20 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=yZOOLHAa; 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 S1727000AbeGRHmx (ORCPT + 99 others); Wed, 18 Jul 2018 03:42:53 -0400 Received: from merlin.infradead.org ([205.233.59.134]:59934 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726233AbeGRHmx (ORCPT ); Wed, 18 Jul 2018 03:42:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9KqQvGLYTNkVWGy7DamzUDZd9kSxRENBo9pmNqB7mlI=; b=yZOOLHAaVWD2iIrypHJBeQmi3N EfmGfUAZXKuKu8OCcWjMVOWI9zKSnyDb9xsDnmnxoRqxug50l4H60Wmkt2fWluTNSOj6qjPvojDv9 g/j3Wjm4lBK/zOJyoO399iDX0JnmiQWxijzykR5eP/NUZnZbnULLICJ3CCxkX6yV+xo/DAiSDfGzM 4bHQ2Cpo48aEqpdmInrUQgHvve5My9cGf7tOUdKTKRgL3UvcQpgOInwn3ojrTw8+M8EX524xuWeiQ +IzaGO3uEbj9/zyNBjrAFfOuxhP9h/1OJ7q5zZj77ZiolHWYZu7nOhgz3X7m+0T83zd6Q6wUA+9+g p8WTq3Sg==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffgXc-0000BL-Bo; Wed, 18 Jul 2018 07:06:28 +0000 Subject: Re: [PATCH 4/9] kconfig: include common Kconfig files from top-level Kconfig To: Masahiro Yamada , Christoph Hellwig Cc: Richard Weinberger , Linux Kbuild mailing list , linux-um@lists.infradead.org, Linux Kernel Mailing List References: <20180708152004.21679-1-hch@lst.de> <20180708152004.21679-5-hch@lst.de> From: Randy Dunlap Message-ID: <17c45e87-d9be-8453-1bce-18753e0a68b9@infradead.org> Date: Wed, 18 Jul 2018 00:06:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/11/2018 05:21 AM, Masahiro Yamada wrote: > 2018-07-09 0:19 GMT+09:00 Christoph Hellwig : >> Instead of duplicating the source statements in every architecture just >> do it once in the toplevel Kconfig file. >> >> Note that with this the inclusion of arch/$(SRCARCH/Kconfig moves out of >> the top-level Kconfig into arch/Kconfig so that don't violate ordering >> constraits while keeping a sensible menu structure. >> >> Signed-off-by: Christoph Hellwig > > >> diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig >> index dd4f3d3e644f..7ab7b148181b 100644 >> --- a/arch/sh/Kconfig >> +++ b/arch/sh/Kconfig >> @@ -168,10 +168,6 @@ config PGTABLE_LEVELS >> default 3 if X2TLB >> default 2 >> >> -source "init/Kconfig" >> - >> -source "kernel/Kconfig.freezer" >> - >> menu "System type" >> >> # >> @@ -553,8 +549,6 @@ endchoice >> >> endif >> >> -source "arch/sh/mm/Kconfig" > > > I noticed at least sh is broken > because "arch/sh/mm/Kconfig" is no longer included by anyone. > > I am not doing further tests. > > > Please test *ALL* architectures. > > If possible, matrix tests (arch, config-target), where > arch = arm, arm64, ... > config-target = allyesconfig, allnoconfig, alldefconfig, ... > > > Note: > scripts/diffconf is helpful. For defconfig: All $ARCH look equivalent except for microblaze and nios2. For those, the config SWAP in init/Kconfig (line 221) comes before (and hence takes precedence) over arch/$(SRCARCH)/Kconfig settings, which is def_bool n for both microblaze and nios2. -- ~Randy