Re: [PATCH v5 1/4] PCI: Introduce pcim_alloc_irq_vectors()
From: Bjorn Helgaas <helgaas@kernel.org>
Date: 2021-06-07 16:24:36
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.
No need to rebase them. The ideal is to base them on the "main" branch from https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/ (currently v5.13-rc) because that's what I base topic branches on. But I can deal with whatever your current base is. Thanks for the reminder; I'll take a look at your v7 posting. Bjorn