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
..
2021-12-10 11:56:05 -08:00
2021-06-16 17:20:40 -05:00
2021-11-05 11:28:46 -05:00
2021-11-02 19:06:30 +01:00
2021-12-09 11:52:21 +01:00
2021-11-06 14:36:12 -07:00
2021-09-07 19:13:42 -07:00
2021-02-10 16:46:29 -06:00
2021-09-28 13:43:17 -05:00