OpenCloudOS-Kernel/drivers/pci/msi
Thomas Gleixner c9e5bea273 PCI/MSI: Provide pci_ims_alloc/free_irq()
Single vector allocation which allocates the next free index in the IMS
space. The free function releases.

All allocated vectors are released also via pci_free_vectors() which is
also releasing MSI/MSI-X vectors.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221124232326.961711347@linutronix.de
2022-12-05 22:22:35 +01:00
..
Makefile PCI/MSI: Move pci_disable_msi() to api.c 2022-11-17 15:15:20 +01:00
api.c PCI/MSI: Provide pci_ims_alloc/free_irq() 2022-12-05 22:22:35 +01:00
irqdomain.c PCI/MSI: Provide IMS (Interrupt Message Store) support 2022-12-05 22:22:34 +01:00
legacy.c PCI/MSI: Prevent UAF in error path 2022-01-21 02:14:46 +01:00
msi.c PCI/MSI: Split MSI-X descriptor setup 2022-12-05 22:22:34 +01:00
msi.h PCI/MSI: Split MSI-X descriptor setup 2022-12-05 22:22:34 +01:00
pcidev_msi.c