From: Bjorn Helgaas <helgaas@kernel.org>
To: Bogicevic Sasa <brutallesale@gmail.com>
Cc: bhelgaas@google.com, linux-pci@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers:pci Add pcie/Kconfig to pci/Kconfig
Date: Mon, 18 Jan 2016 21:31:54 -0600 [thread overview]
Message-ID: <20160119033153.GE14080@localhost> (raw)
In-Reply-To: <1452608545-32242-1-git-send-email-brutallesale@gmail.com>
Hi Bogicevic,
On Tue, Jan 12, 2016 at 06:22:25AM -0800, Bogicevic Sasa wrote:
> Architectures currently have to include both
> drivers/pci/Kconfig and drivers/pci/pcie/Kconfig.
> They should include only drivers/pci/Kconfig, and
> that should handle PCIe as well.
>
> Signed-off-by: Bogicevic Sasa <brutallesale@gmail.com>
> ---
> drivers/pci/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
> index 73de4ef..005dd7d 100644
> --- a/drivers/pci/Kconfig
> +++ b/drivers/pci/Kconfig
> @@ -119,3 +119,5 @@ config PCI_LABEL
> select NLS
>
> source "drivers/pci/host/Kconfig"
> +
> +source "drivers/pci/pcie/Kconfig"
This project is something I'd like to get done, but it requires a
little more work. If it were this simple, I would have done it long
ago :)
For one thing, we need to update all the Kconfig files that already
include drivers/pci/pcie/Kconfig at the same time. On x86,
arch/x86/Kconfig already includes both:
source "drivers/pci/pcie/Kconfig"
source "drivers/pci/Kconfig"
With your patch applied, I see these new warnings:
05:42:09 ~/linux (wip/bogicevic-kconfig)$ make menuconfig
...
scripts/kconfig/mconf Kconfig
drivers/pci/pcie/Kconfig:61:warning: choice value used outside its choice group
drivers/pci/pcie/Kconfig:67:warning: choice value used outside its choice group
drivers/pci/pcie/Kconfig:74:warning: choice value used outside its choice group
I see that you did verify that removing the source line from
arch/x86/Kconfig does the right thing. We need to put all the related
changes in a single patch so it is self-contained. The tree should be
buildable and functional at every stage.
Bjorn
next prev parent reply other threads:[~2016-01-19 3:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-12 14:22 [PATCH] drivers:pci Add pcie/Kconfig to pci/Kconfig Bogicevic Sasa
2016-01-19 3:31 ` Bjorn Helgaas [this message]
2016-02-03 21:29 ` sasa bogicevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160119033153.GE14080@localhost \
--to=helgaas@kernel.org \
--cc=bhelgaas@google.com \
--cc=brutallesale@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).