Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp59549imu; Thu, 8 Nov 2018 14:47:18 -0800 (PST) X-Google-Smtp-Source: AJdET5cy1//NxMr8SrRLVyzbJnfufZ3CHSuLlBUT0pMkiIL1lh+ktyebxn3hNVVtEDn4gqvQDhaR X-Received: by 2002:a17:902:d708:: with SMTP id w8-v6mr6277525ply.72.1541717237943; Thu, 08 Nov 2018 14:47:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541717237; cv=none; d=google.com; s=arc-20160816; b=QN31WujxmZB0Q1D6CotD3LUeeQZ1oF6U4vXzmvIOnxvRgoy4KfSGSVwO8Hcn3Th0dU ze6t/1qWwsx0qVTSiiKPf7+z5lyS6LPxLEQrqCYOqHfHix5zpvDei5gkAHUJH/kx9wAF GOnZjFIQYtD64EGJw45VV9Y7kFyhOJP0JnQnlUBfzxB1iaD/tXKmSXThz1CdEoZqWyTR nyrCWvJPWyDJmxeWgkeXXYnKOxeVkVfvJz6g4PdqV8QNcMJ2ivOJfcj1a3NMGbQyhYxl OLrCpmdLa2wkSx9rDz+Ac2O6AaxRXeXzcvgDPZhLlcGsrQRLMiqz3GU5hz/unTXCSvMX OEQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=17nHR4SSXOavpIH1n303bDpy/R7P3joNhF5Oj9HCQQ0=; b=F+D5ENr4ZVLAT1G6Jff4UdQxMn3Fyqd7Hyd8jS+msbij8uYkNT5TUGfo0gZzlIFp5P H0g/v7zwoJZkd6d2YXpviDgc7VmJQWcP4b1hjfvfvpaPt0Xk+cecBZho/jnF/5km5k1l Pedl+jSzkZ9KM1rj5Tj2Lc7oZVCk2m9rwma9WbeKkpMe3yOtsALt2hHctThncgRYp6kL 4DjrvMhZXWdFX3aZy7rq/0lBDFSl4gjNHh40MiU29DaUM3lHrnwLb8VDdPk1fomy1mV0 FNpyFDbT5NRM+F0SNMgOfmLcqQnebObuvRGmGvQuA5E28WuMxHxvxQBuFUvvV/MNeh6N pXyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xmV6VQzT; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2si4996708pgr.67.2018.11.08.14.47.02; Thu, 08 Nov 2018 14:47:17 -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=@kernel.org header.s=default header.b=xmV6VQzT; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728698AbeKIIXc (ORCPT + 99 others); Fri, 9 Nov 2018 03:23:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:59318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728103AbeKIIX0 (ORCPT ); Fri, 9 Nov 2018 03:23:26 -0500 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B4CB020840; Thu, 8 Nov 2018 22:45:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541717143; bh=ammYTnP1U5yudbT4E99Qe6kOdOFJwKSJ/l8bEYSEGSI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xmV6VQzTU/pmZA5llXaVSpWC/SEid6L9uOiX5U0zVCFoLwAIdjYMm2Fgb5Jt88Odr uuA1jhxbjnIK46MRy1HEt6NpDYsMj/goCWeuMZ7584mYKRBQl98iwH8WM/v0vCEsRC gsESOYI3ZDq/z8RJfr/5NRjGxToR4yfQjQjFEv24= Date: Thu, 8 Nov 2018 16:45:41 -0600 From: Bjorn Helgaas To: Christoph Hellwig Cc: Masahiro Yamada , Matt Porter , Alexandre Bounine , Dominik Brodowski , linux-kbuild@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-scsi@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 6/9] PCI: consolidate PCI config entry in drivers/pci Message-ID: <20181108224540.GG41183@google.com> References: <20181019120952.32763-1-hch@lst.de> <20181019120952.32763-7-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181019120952.32763-7-hch@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 19, 2018 at 02:09:49PM +0200, Christoph Hellwig wrote: > There is no good reason to duplicate the PCI menu in every architecture. > Instead provide a selectable HAVE_PCI symbol that indicates availability > of PCI support and the handle the rest in drivers/pci. > > Note that for powerpc we now select HAVE_PCI globally instead of the > convoluted mess of conditional or or non-conditional support per board, > similar to what we do e.g. on x86. For alpha PCI is selected for the > non-jensen configs as it was the default before, and a lot of code does > not compile without PCI enabled. On other architectures with limited > PCI support that wasn't as complicated I've left the selection as-is. > > Signed-off-by: Christoph Hellwig > Acked-by: Max Filippov > Acked-by: Thomas Gleixner > Acked-by: Bjorn Helgaas Sounds like Masahiro plans to take this series and I'm fine with that. Minor typo below, since it sounds like there's another revision coming. > --- a/drivers/pci/Kconfig > +++ b/drivers/pci/Kconfig > @@ -3,6 +3,18 @@ > # PCI configuration > # > > +config HAVE_PCI > + bool > + > +menuconfig PCI > + bool "PCI support" > + depends on HAVE_PCI > + > + help > + This option enables support for the PCI local bus, including > + support for PCI-X and the fundations for PCI Express support. s/fundations/foundations/ > + Say 'Y' here unless you know what you are doing. > + > source "drivers/pci/pcie/Kconfig"