Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3144369imm; Fri, 19 Oct 2018 06:00:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV60vOhECXFhPONRqj5cf/WswhCxxU77k0lq8AHRdbVnrrONcjjOvLHzdlNbq4ZF050NRS9Wa X-Received: by 2002:a63:fe44:: with SMTP id x4-v6mr32582917pgj.152.1539954011775; Fri, 19 Oct 2018 06:00:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539954011; cv=none; d=google.com; s=arc-20160816; b=enCPvwN1sxZbIK84eGCCPJjJe69Bzq19nyOVD4dx6liytv4qfWogCWCQWLx9hchJJI LhcZIBo6rIJU9Iy/0zweCngdI8NQeOCllpsuw8OSnxJLzJFudYuW14oBqDFoT3hdOHpb +WZCB+Ao+huYCCjjQgKqTSIJtmS31zBrxbSMQyDxqkSscrKnYS+wR8Zw5LdGFql8uTpb cQl1TN6Pm0mO2Gqy6APlCEbuX8p6GstKHYCHvsdW8m0MCdR4rULslVqEgyE/5jgukOTI ZcUNAFxTkNp6tktcKv9WlkiflLBQknrZtPVWypqnoNRoqylCIZq3tFrLQ5pfzQf2mOGN GIpg== 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=TzNt9vFzOmeru9+0ICk7t+QXt1OoO7XrIfBO4dZLhZA=; b=YkgKeCaV8iLkHxrYOElZQSSxg1CpAM4WsB9yW2OvYU8GHMK+ksSgpZuTF4XJmcuhju m6GpbpetLYLgus4NjYKoxy5J0TdTgyftgc5wOWs/zUzM7O2aTvpP/6mzp1p/r6LdERdX txjSUeTNp/nL9tzycImr5BhlR9Fr8QwxlLxd3Z/OxH6SenzVQGbvZMHZ5Fk9ESqQcLwY lHC5z61qLu8BlZe8/DujCuX1oaKifHyHt3K6VhY5aFqi0qb2izz7OzpaZ+ZLiOCiu+ut YJQH7Bhe4JRRgkT35gFA5OH1cJ/xVt5pHjH5uOMU6TWB6kSgmhXyIEwU47/sY3eCQi3y 1aaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="rI/Nr7pP"; 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 h33-v6si21164419plh.56.2018.10.19.05.59.56; Fri, 19 Oct 2018 06:00:11 -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=@nifty.com header.s=dec2015msa header.b="rI/Nr7pP"; 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 S1727552AbeJSVF3 (ORCPT + 99 others); Fri, 19 Oct 2018 17:05:29 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:50746 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727199AbeJSVF2 (ORCPT ); Fri, 19 Oct 2018 17:05:28 -0400 Received: from mail-vk1-f172.google.com (mail-vk1-f172.google.com [209.85.221.172]) (authenticated) by conssluserg-04.nifty.com with ESMTP id w9JCxNoa008056; Fri, 19 Oct 2018 21:59:23 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com w9JCxNoa008056 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1539953964; bh=TzNt9vFzOmeru9+0ICk7t+QXt1OoO7XrIfBO4dZLhZA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=rI/Nr7pP7Ia7xtwh+JypN6pe08zYyemauTat478xqXU9YnkP0t6mftcWukmsYyLrk QUtjhRMRF6nXV/9sUVJEk/ANyrwh4EGcSvWyKfDIzcU1vHEGitDqpt4Tk7mhZw9qaf ASY4jOo8JDRJfUf1llqtlXTjYfZNiyBcKuKpCRrlEdpGtiUauq1D96s76Ox3rlOAEN gCufX9cbf0/lcAUMr6ZAuJ2gZ6ZH+8tyw4pAm0wuMxLJ0i0SpHLOMs5GPCPPMDaJ91 3l8zsH6pHzawJZXL3T8c5tepvW68/Q8dXyXIPFyvwX32c73OXIgrMsH5X2Q9l50Q/q X2z0QjZidKkfg== X-Nifty-SrcIP: [209.85.221.172] Received: by mail-vk1-f172.google.com with SMTP id o196so6951724vka.12; Fri, 19 Oct 2018 05:59:23 -0700 (PDT) X-Gm-Message-State: ABuFfojwA94A7WplDyMkiXmLO1/3r8nFPoBEH8uE9amV0QeosCQfZDRC I3vGKgGHncxE8PHbyAEEpy8l2Xd2itwlX8fLRAQ= X-Received: by 2002:a1f:a014:: with SMTP id j20mr7965499vke.64.1539953962704; Fri, 19 Oct 2018 05:59:22 -0700 (PDT) MIME-Version: 1.0 References: <20181019120952.32763-1-hch@lst.de> <20181019120952.32763-7-hch@lst.de> <20181019122228.GJ30658@n2100.armlinux.org.uk> In-Reply-To: <20181019122228.GJ30658@n2100.armlinux.org.uk> From: Masahiro Yamada Date: Fri, 19 Oct 2018 21:58:46 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 6/9] PCI: consolidate PCI config entry in drivers/pci To: Russell King Cc: Christoph Hellwig , linux-arch , linux-scsi , Linux Kbuild mailing list , linux-pci@vger.kernel.org, Linux Kernel Mailing List , Dominik Brodowski , Alex Bounine , mporter@kernel.crashing.org, linuxppc-dev , linux-arm-kernel 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, Oct 19, 2018 at 9:23 PM Russell King - ARM Linux wrote: > > index a68b34183107..b185794549be 100644 > > --- a/arch/arm/mach-pxa/Kconfig > > +++ b/arch/arm/mach-pxa/Kconfig > > @@ -125,7 +125,7 @@ config MACH_ARMCORE > > bool "CompuLab CM-X255/CM-X270 modules" > > select ARCH_HAS_DMA_SET_COHERENT_MASK if PCI > > select IWMMXT > > - select MIGHT_HAVE_PCI > > + select HAVE_PCI > > select NEED_MACH_IO_H if PCI > > select PXA25x > > select PXA27x > > This is wrong. "MIGHT_HAVE_PCI" is _not_ the same as "HAVE_PCI" - we > have a bunch of platforms that mandatorily have PCI and these select > PCI directly. "MIGHT_HAVE_PCI" controls the _visibility_ of the PCI > menu option, but does not prevent it being selected. Your patch will > cause Kconfig to complain for those which mandatorily have PCI but > do not set HAVE_PCI. Good catch! But, adding a bunch of 'select HAVE_PCI' along with 'select PCI' is ugly. Do you have any suggestion? How about letting CONFIG_ARM to select HAVE_PCI ? -- Best Regards Masahiro Yamada