[PATCH v9 10/13] PCI: Give pci_intx() its own devres callback
Bjorn Helgaas
helgaas at kernel.org
Mon Jun 17 16:46:04 UTC 2024
On Mon, Jun 17, 2024 at 10:21:10AM +0200, Philipp Stanner wrote:
> On Fri, 2024-06-14 at 11:14 -0500, Bjorn Helgaas wrote:
> > On Fri, Jun 14, 2024 at 10:09:46AM +0200, Philipp Stanner wrote:
> ...
> > > Apparently INTx is "old IRQ management" and should be done through
> > > pci_alloc_irq_vectors() nowadays.
> >
> > Do we have pcim_ support for pci_alloc_irq_vectors()?
>
> Nope.
Should we? Or is IRQ support not amenable to devm?
Happened to see this new driver:
https://lore.kernel.org/all/20240617100359.2550541-3-Basavaraj.Natikar@amd.com/
that uses devm and the only PCI-related part of .remove() is cleaning
up the IRQs.
More information about the dri-devel
mailing list