All of lore.kernel.org
 help / color / mirror / Atom feed
* Requirement to get BAR pci_bus_address in user space
@ 2018-06-14 10:07 ` Srinath Mannam
  0 siblings, 0 replies; 29+ messages in thread
From: Srinath Mannam @ 2018-06-14 10:07 UTC (permalink / raw)


Hi Bjorn,


We observed an issue in NVMe CMD cards in SPDK NVMe libraries.
Similar issue fixed with "nvme-pci: Use PCI bus address for
data/queues in CMB" commit in nvme kernel driver.
As per the fix, pci_bus_address of CMB bar is required to program to NVMe cards.

We need to implement similar fix for SPDK NVMe libraries also.

User space libraries get pci device resource information (resource phy
address, resource size) from resource file in sysfs.
But no mechanism available to get  pci_bus_address of corresponding
resource physical address in sysfs.

Please suggest me if any alternate mechanism available to get
pci_bus_address in user space.

Thank you.

Regards,
Srinath.

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

end of thread, other threads:[~2018-06-15  6:11 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-14 10:07 Requirement to get BAR pci_bus_address in user space Srinath Mannam
2018-06-14 10:07 ` Srinath Mannam
2018-06-14 10:07 ` Srinath Mannam
2018-06-14 10:20 ` Christoph Hellwig
2018-06-14 10:20   ` Christoph Hellwig
2018-06-14 10:20   ` Christoph Hellwig
2018-06-14 10:29   ` Srinath Mannam
2018-06-14 10:29     ` Srinath Mannam
2018-06-14 10:29     ` Srinath Mannam
2018-06-14 10:33     ` okaya
2018-06-14 10:33       ` okaya
2018-06-14 10:33       ` okaya
2018-06-14 10:48       ` Srinath Mannam
2018-06-14 10:48         ` Srinath Mannam
2018-06-14 14:42         ` Keith Busch
2018-06-14 14:42           ` Keith Busch
2018-06-14 14:42           ` Keith Busch
2018-06-14 14:50         ` Alex Williamson
2018-06-14 14:50           ` Alex Williamson
2018-06-14 14:50           ` Alex Williamson
2018-06-14 14:59           ` Christoph Hellwig
2018-06-14 14:59             ` Christoph Hellwig
2018-06-14 14:59             ` Christoph Hellwig
2018-06-14 20:04           ` Walker, Benjamin
2018-06-14 20:04             ` Walker, Benjamin
2018-06-14 20:04             ` Walker, Benjamin
2018-06-15  6:11             ` Srinath Mannam
2018-06-15  6:11               ` Srinath Mannam
2018-06-15  6:11               ` Srinath Mannam

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.