Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Martin Mares <mj@ucw.cz>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: Ruud <netwerkforens@gmail.com>, linux-pci@vger.kernel.org
Subject: Re: [PATCH] Enumerate all undiscovered PCIe busses
Date: Mon, 5 Oct 2015 12:21:35 +0200	[thread overview]
Message-ID: <mj+md-20151005.101820.16366.nikam@ucw.cz> (raw)
In-Reply-To: <20151003143056.GA17684@localhost>

Hi!

> This appears to be a patch for pciutils, so I cc'd Martin, who
> maintains that.

Thanks, I manage to follow linux-pci only very loosely these days...

> On Fri, Oct 02, 2015 at 06:23:36PM +0000, Ruud wrote:
> > Multiple root complexes have a different start busnumber.
> > Poll all undiscovered busses for a root complex

Unfortunately, this is not correct to do. Many systems report
junk on unused bus number (for example, they decode bus numbers
only partially, so the buses repeat).

In which situation do you need this? Is it on Linux? Only lspci,
or your own code using libpci?

Does `lspci -M' help?

				Have a nice fortnight
-- 
Martin `MJ' Mares                          <mj@ucw.cz>   http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"Please try to fit your code to 80 columns. That's decimal 80." -- A. Morton

  reply	other threads:[~2015-10-05 10:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-02 18:23 [PATCH] Enumerate all undiscovered PCIe busses Ruud
2015-10-03 14:30 ` Bjorn Helgaas
2015-10-05 10:21   ` Martin Mares [this message]
2015-10-05 14:23     ` Ruud
2015-10-07  7:30       ` Ruud
2015-10-07  9:16         ` Ruud

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=mj+md-20151005.101820.16366.nikam@ucw.cz \
    --to=mj@ucw.cz \
    --cc=helgaas@kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=netwerkforens@gmail.com \
    /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