android_kernel_samsung_sm8650/drivers/pci/msi
Thomas Gleixner 93296cd132 PCI/MSI: Allocate MSI device data on first use
Allocate MSI device data on first use, i.e. when a PCI driver invokes one
of the PCI/MSI enablement functions.

Add a wrapper function to ensure that the ordering vs. pcim_msi_release()
is correct.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/87r1adrdje.ffs@tglx
2021-12-16 22:16:38 +01:00
..
irqdomain.c genirq/msi: Handle PCI/MSI allocation fail in core code 2021-12-09 11:52:22 +01:00
legacy.c PCI/MSI: Move descriptor counting on allocation fail to the legacy code 2021-12-09 11:52:23 +01:00
Makefile
msi.c PCI/MSI: Allocate MSI device data on first use 2021-12-16 22:16:38 +01:00
msi.h
pcidev_msi.c