From: David Epping <david.epping@missinglinkelectronics.com>
To: linux-pci@vger.kernel.org
Subject: MSI-X capability display of pciutils
Date: Sat, 01 Jun 2013 00:14:29 +0200 [thread overview]
Message-ID: <51A920C5.40209@missinglinkelectronics.com> (raw)
Hello,
I am inspecting the MSI-X setup of some PCIe devices and have questions
about the output of lspci.
It looks something like this:
Capabilities: [50] MSI-X: Enable+ Count=32 Masked-
Vector table: BAR=0 offset=00002000
PBA: BAR=0 offset=00003000
As far as I understand the PCI 3.0 specification MSI-X capabilities
define a 32 bit register for the upper address portion of the MSI target
addresses (at capability offset 4) and another 32 bit register pointing
to the BAR and inter-BAR offset for the table of lower address portions
of the MSI target addresses (at capability offset 8).
Why are there two lines in the lspci output indicating some BAR and
offset? What do they mean?
Looking at the source code of pciutils (ls-caps.c) indicates that the
PBA line is the information pointing to the table of MSI-X entries,
while the vector table line is actually the upper 32bit of each MSI
target address. This should however not be split into BAR and offset in
that case, I believe.
What did I miss?
Thanks for clarifying,
David
next reply other threads:[~2013-05-31 22:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-31 22:14 David Epping [this message]
2013-05-31 22:48 ` MSI-X capability display of pciutils Bjorn Helgaas
2013-05-31 23:33 ` David Epping
2013-06-01 11:30 ` David Epping
[not found] ` <COL126-W433C75A9D7FCC1A5A561B3B7930@phx.gbl>
2013-06-01 14:40 ` David Epping
2013-06-01 22:19 ` Bjorn Helgaas
2013-06-01 22:08 ` Bjorn Helgaas
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=51A920C5.40209@missinglinkelectronics.com \
--to=david.epping@missinglinkelectronics.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.