Thread (17 messages) 17 messages, 5 authors, 2021-06-07

Re: [PATCH v5 1/4] PCI: Introduce pcim_alloc_irq_vectors()

From: Dejin Zheng <hidden>
Date: 2021-06-06 06:52:35
Also in: linux-i2c, linux-pci, lkml

On Wed, Jun 02, 2021 at 11:51:10AM +0300, Andy Shevchenko wrote:
On Thu, May 06, 2021 at 12:27:16AM +0800, Dejin Zheng wrote:
quoted
On Tue, Mar 23, 2021 at 05:47:10PM -0500, Bjorn Helgaas wrote:
quoted
[+cc Christoph, Thomas, Alexander, in case you're interested]
[+cc Jonathan, Kurt, Logan: vmd.c and switchtec.c use managed resources
and pci_alloc_irq_vectors()]
quoted
quoted
On Fri, Feb 26, 2021 at 11:50:53PM +0800, Dejin Zheng wrote:
quoted
Introduce pcim_alloc_irq_vectors(), a device-managed version of
pci_alloc_irq_vectors(). Introducing this function can simplify
the error handling path in many drivers.

And use pci_free_irq_vectors() to replace some code in pcim_release(),
they are equivalent, and no functional change. It is more explicit
that pcim_alloc_irq_vectors() is a device-managed function.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dejin Zheng <redacted>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>

Let me know if you'd like me to take the series.
Hi Bjorn,

These patches are still invisible on the mainline, could you help me to
take it? Thanks very much!
I guess you have to rebase them on top of the latest rc (or PCI for-next) and
send with a cover letter.
Andy, thanks for your reminder, I will do it.
-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help