All of lore.kernel.org
 help / color / mirror / Atom feed
* MSI-X capability display of pciutils
@ 2013-05-31 22:14 David Epping
  2013-05-31 22:48 ` Bjorn Helgaas
  0 siblings, 1 reply; 7+ messages in thread
From: David Epping @ 2013-05-31 22:14 UTC (permalink / raw)
  To: linux-pci

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-01 22:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-31 22:14 MSI-X capability display of pciutils David Epping
2013-05-31 22:48 ` 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

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.