Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp6261982imd; Wed, 31 Oct 2018 09:07:26 -0700 (PDT) X-Google-Smtp-Source: AJdET5fE0+Y2gXlwOwFHH62b8Z3zvUY00jk1V2V6KirrWm9diTlHjejFOeV+/HJZGPUB24vVKmLL X-Received: by 2002:a63:cf0e:: with SMTP id j14-v6mr3755340pgg.195.1541002046437; Wed, 31 Oct 2018 09:07:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541002046; cv=none; d=google.com; s=arc-20160816; b=FqUJofKYM4zMJYVZdUVBsk/zyULDVnrL1T8gMfogaUk/SkgKjcAG1nYRxeHlUT7VBc 0dYl2iBEgQPRAkPSgDpUiEThRJ/jFRDlwI/K45Oec8xUicVZvdl4DWszW7JuCMRARAQ0 luJ5gEpXx5xwkGV9bUAbdn6rCNqeRa+glm5hhrtEWZ459zerfinQa8MgTkrEjQyG+bnM es5xSwNe5lKVYkQ4mtWFY/9x3byUrjd8vaJeGWr2qdkcjNP3FHPwZwhuu5ANR/rlpVm1 YJStnXi1Jk2m+IUaiko5zreB/6lmhcGu4UmlEi/CCmr6zHAOrgV8Ty+KkZwAEJJ3Sivw WU1w== 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=rm4KBd9Y1DjyNm7gMyiNo8tn1N+1kLxAGdNLudCccdI=; b=lokCtEX1Zev3aaP40ixEW1rljHI2G4QrHGnBFNfTXtweB7mxPcbzprZmo84Wndwq1w sZ6C9SrH96WM6XLssr6NO3zUE6LcVom+rwUZWYqYsQ3yvzI8w3ptBq3RNeUshRlfIEhR UTYmrJB1v3qjlLOugkjfgz+ury35AgmPuV8/n3qVpgEtMeDNMfpUW31ZrQdgldvuDypG DUCNUuzzvxdh8AlWfUXDaB4iUnsAxDd/yafF8o6iQ2R4LT0fphB5cY6QK6FKtHofPOmY mg23rfv3Svy7n9/p3dWawjLw5VTsEygNN9XTbMrJTN/n3AxliVOUZzb8lyK9VGRuzX0n jffg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=JqvdN7ba; 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 gn15si26204723plb.321.2018.10.31.09.07.00; Wed, 31 Oct 2018 09:07:26 -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=JqvdN7ba; 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 S1729591AbeKABEt (ORCPT + 99 others); Wed, 31 Oct 2018 21:04:49 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:43616 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728048AbeKABEs (ORCPT ); Wed, 31 Oct 2018 21:04:48 -0400 Received: from mail-ua1-f49.google.com (mail-ua1-f49.google.com [209.85.222.49]) (authenticated) by conssluserg-02.nifty.com with ESMTP id w9VG63AO018968; Thu, 1 Nov 2018 01:06:04 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com w9VG63AO018968 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1541001964; bh=rm4KBd9Y1DjyNm7gMyiNo8tn1N+1kLxAGdNLudCccdI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JqvdN7baYjxm3y4SffjP5dcqILVQxN1PONQylmH4GekjpfMQrGc0Gs20G1DxmPwwf 2Ulw9WdymD1ePio94lpLlfQ1YS4kpIsF+0a4a5KtZ+7jTPhbfudfn7NsiqwCCotI9g 1Bib5DRqKCQVrpddlKGJ6PZM/kUk3uUImVBaun4a/pyHQLn1ja3reeDiQBXUORPBIZ DYNxeCtBchszGB1DRll9bVzF3cxEoEmK04Xa4I9jSgsmhPLyLxBgkVbuXt7bDfQKHT U0mzY7fNxM2rWftsNgEhMYlolBjnLDPS2q9ZIEqNibzyyVveuQX4NBZnIWcYhvMpTR FQHlP5fw5dFZg== X-Nifty-SrcIP: [209.85.222.49] Received: by mail-ua1-f49.google.com with SMTP id c5so4460886uak.4; Wed, 31 Oct 2018 09:06:04 -0700 (PDT) X-Gm-Message-State: AGRZ1gLpP87rj7DH89BBn0AR/vNNVOMIj1RN2wbr/m8/L4SMBinv4kyg etAxGBPaJ3YuBP8Ljo6HW8XMecA+ovNs2arbGww= X-Received: by 2002:ab0:5444:: with SMTP id o4mr1665827uaa.55.1541001962702; Wed, 31 Oct 2018 09:06:02 -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: From: Masahiro Yamada Date: Thu, 1 Nov 2018 01:05:26 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 6/9] PCI: consolidate PCI config entry in drivers/pci To: Christoph Hellwig Cc: 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 , Russell King 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 Hi Christoph, On Fri, Oct 19, 2018 at 9:58 PM Masahiro Yamada wrote: > > 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 ? > I applied 1/9, 3/9, 4/9, 5/9. (I think 2/9 should be squashed to 9/9) As Russell pointed out, we need to avoid the unmet dependency. Are you planning to send the updated version for 6/9 through - 9/9 ? If so, could you please rebase 6/9 so that it is cleanly applicable ? Thanks. -- Best Regards Masahiro Yamada