Thread (7 messages) 7 messages, 4 authors, 2016-06-21

Re: [PATCH v3 0/6] Introduce pci_(request|release)_(mem|io)_regions

From: Jeff Kirsher <hidden>
Date: 2016-06-08 23:04:51
Also in: intel-wired-lan, linux-nvme, linux-pci, linux-scsi, lkml

On Wed, 2016-06-08 at 09:28 +0200, Johannes Thumshirn wrote:
On Tue, Jun 07, 2016 at 09:44:00AM +0200, Johannes Thumshirn wrote:
quoted
The first patch in this series introduces the following 4 helper
functions to
quoted
the PCI core:

* pci_request_mem_regions()
* pci_request_io_regions()
* pci_release_mem_regions()
* pci_release_io_regions()

which encapsulate the request and release of a PCI device's memory or
I/O
quoted
bars.

The subsequent patches convert the drivers, which use the
pci_request_selected_regions(pdev, 
      pci_select_bars(pdev, IORESOURCE_MEM), name); 
and similar pattern to use the new interface.

This was suggested by Christoph Hellwig in
http://lists.infradead.org/pipermail/linux-nvme/2016-May/004570.html an
d
quoted
tested on kernel v4.6 with NVMe.
Btw, as I've seen already Jeff applying the Intel Ethernet patch to his
tree, I think this should go via the PCI tree as the build dependency is
the PCI patch.
Bjorn should pick up the entire series, I just applied the Intel patch (and
dependent patches) so we could touch test it.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help