Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3198091imu; Fri, 23 Nov 2018 23:54:49 -0800 (PST) X-Google-Smtp-Source: AFSGD/XpCtAe+avsxwjyqeI8T9n5DAHFGIWmehhWEeFblqGbrP/bjft6NKOciYUw4RHvqSyzxKXh X-Received: by 2002:a17:902:8a8a:: with SMTP id p10mr9607931plo.50.1543046089394; Fri, 23 Nov 2018 23:54:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543046089; cv=none; d=google.com; s=arc-20160816; b=tmj/UMzM6GFaBn1zYpRU4+y6o2XHULTHHcQ1REwBdEbi8odTVf4QLt7qCNxVa3ObU3 pMzWaqNygX/cMI0S8dFH6Tlb81DT0whgaaE2EUslUWAoUYT/fRBIyrWKeWK01XNzq8Ii wyBS5dQzRPeD4RnR3k8vBDgJbTek1mIuo1L5wJKU0aVJrDjSqt351do5/15i5knloyi4 V+LS5VoLTl2ddYDpZkMl5/ROPH5hptauQTV8k/MMPhFzdMmSQtq7Vcfv0FMp/s88VOyf 1AKn5BGc/Ub3V34BQUgVtLd5dw/R+FEVi7X4w90L7qnU7RbURjCoLUcEuxVCjCx5xd6D UOqg== 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:dkim-filter; bh=R157I6Dkx5Z2mskSmJELm97OIhgSrKrMbLwBuT6BgNs=; b=GJ5bIr5pUnKZ0n6vb2OP+foIUtaHQbkrxrJmByc6H5LEfRpzTvOq1eVbj/hCQbSDYA I7RGrIXYJ/hRdtRFHMF5yDytyqETdsrDxZT09a2fjgseamJqPtKBbFu2g/6W4uwn3znO PDzbAmIgkvO9UsZyuGZZP6DWXkHh4LMezj9+NiiaIlXiuaH4qfhBRMTVNz4OU5g2nx2J ICXg7Is6bHW2IMDUNJNb182ldEAvVc/C5Fi2ADV7/EO8e3wKrZEpDFzV4D7OaamC0uqD hwN0sxu3j8kKqjAETVKcLyZKtCfFO+xHOPkjqjzMoeH6HCeP1YPYoJ+vsWqlUFHEj8kw C39g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Xt7kCeKg; 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 p14si24289839pgf.52.2018.11.23.23.54.35; Fri, 23 Nov 2018 23:54:49 -0800 (PST) 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=@nifty.com header.s=dec2015msa header.b=Xt7kCeKg; 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 S2407981AbeKWNY2 (ORCPT + 99 others); Fri, 23 Nov 2018 08:24:28 -0500 Received: from conssluserg-06.nifty.com ([210.131.2.91]:45660 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727343AbeKWNY1 (ORCPT ); Fri, 23 Nov 2018 08:24:27 -0500 Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) (authenticated) by conssluserg-06.nifty.com with ESMTP id wAN2fuXt031803; Fri, 23 Nov 2018 11:41:56 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com wAN2fuXt031803 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1542940917; bh=R157I6Dkx5Z2mskSmJELm97OIhgSrKrMbLwBuT6BgNs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Xt7kCeKg4GGBt+J3Snq2vwZlT+w8OiyFUD7LWOLXE5pvAZr8vzbRl4gtGpxjZCgvi jiI/tA6CFqnVBKV1A6ulng70p2WogPviu97lII0SBGEgEg7FDkVyWTQg3xtV41cvNy irGsOah7EPQzmlJgDxvwFEWAcyj43ZT1HYhwCO1euFFysGiGDsk9YBCokok4CAVjma ycb6MK+CPmqHkkD3Kio2yXGaHmbvv3Khf4KNlWwTVZzIgxtNOKNqTjsb0HZ13QjSTH V6sMtEtCbpCtQpon8IUwPymVv5ZHSRqjuuwFy83PmULgph7fKMvSmzssp7rtmewnSW s0c1V/zGJqR7Q== X-Nifty-SrcIP: [209.85.222.52] Received: by mail-ua1-f52.google.com with SMTP id j3so3675037uap.3; Thu, 22 Nov 2018 18:41:56 -0800 (PST) X-Gm-Message-State: AA+aEWZGX2Db8gx5SEpZTS2g9ziZHaabhlGtiw/IW2xYlEWgGsHZQx2O UutQ9DaLJK+XmbMr5aWGBX4fG6tKHYLaNs2A/xo= X-Received: by 2002:a9f:3f41:: with SMTP id i1mr5501205uaj.42.1542940915649; Thu, 22 Nov 2018 18:41:55 -0800 (PST) MIME-Version: 1.0 References: <20181115190538.17016-1-hch@lst.de> <20181115190538.17016-6-hch@lst.de> In-Reply-To: <20181115190538.17016-6-hch@lst.de> From: Masahiro Yamada Date: Fri, 23 Nov 2018 11:41:19 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 5/9] PCI: consolidate the PCI_DOMAINS and PCI_DOMAINS_GENERIC config options To: Christoph Hellwig Cc: mporter@kernel.crashing.org, Alex Bounine , Dominik Brodowski , Linux Kbuild mailing list , linux-arm-kernel , linux-pci@vger.kernel.org, linux-arch , Linux Kernel Mailing List , linuxppc-dev , linux-alpha@vger.kernel.org, Linux-MIPS 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, Nov 16, 2018 at 4:07 AM Christoph Hellwig wrote: > diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig > index a8128a1946a2..95812fc4958c 100644 > --- a/drivers/pci/Kconfig > +++ b/drivers/pci/Kconfig > @@ -21,6 +21,15 @@ menuconfig PCI > support for PCI-X and the foundations for PCI Express support. > Say 'Y' here unless you know what you are doing. > > +config PCI_DOMAINS > + depends on PCI > + bool > + > +config PCI_DOMAINS_GENERIC > + depends on PCI > + select PCI_DOMAINS > + bool > + > source "drivers/pci/pcie/Kconfig" > > config PCI_MSI I reordered this so it 'bool' comes first. config PCI_DOMAINS bool depends on PCI config PCI_DOMAINS_GENERIC bool depends on PCI select PCI_DOMAINS Of course, it is just a matter of slight taste. I just wanted the code to look consistent. -- Best Regards Masahiro Yamada