[PATCH 01/37] PCI/MSI: Add Devres managed IRQ vectors allocation

Jonathan Cameron jonathan.cameron at huawei.com
Tue Feb 24 08:20:00 PST 2026


On Mon, 23 Feb 2026 23:29:40 +0800
Shawn Lin <shawn.lin at rock-chips.com> wrote:

> pcim_alloc_irq_vectors() and pcim_alloc_irq_vectors_affinity() are created for
> pci device drivers which rely on the devres machinery to help cleanup the IRQ
> vectors.

It might be worth adding some details on why we need the is_msi_managed
flag in the first place vs just doing conventional devm_add_action_or_reset()
with pci_free_irq_vectors().





More information about the linux-riscv mailing list