# Re: \[PATCH v5 1/4\] PCI: Introduce pcim\_alloc\_irq\_vectors()

- From: Andy Shevchenko \<andriy.shevchenko@linux.intel.com\>
- Date: 2021-06-02 08:51:22 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/06/1399507
- Thread: https://ratatoskr.run/linux-doc/2021/02/6280168/t.md

```text
On Thu, May 06, 2021 at 12:27:16AM +0800, Dejin Zheng wrote:
> On Tue, Mar 23, 2021 at 05:47:10PM -0500, Bjorn Helgaas wrote:
> > [+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()]

> > On Fri, Feb 26, 2021 at 11:50:53PM +0800, Dejin Zheng wrote:
> > > 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.

-- 
With Best Regards,
Andy Shevchenko


```
