diff options
author | 2021-12-15 18:19:49 +0100 | |
---|---|---|
committer | 2021-12-16 22:16:38 +0100 | |
commit | 93296cd1325d1d9afede60202d8833011c9001f2 (patch) | |
tree | e9d1f991e721a00e0d021e4d48f4429b4b17d120 /include/linux/pci.h | |
parent | PCI/MSI: Decouple MSI[-X] disable from pcim_release() (diff) | |
download | wireguard-linux-93296cd1325d1d9afede60202d8833011c9001f2.tar.xz wireguard-linux-93296cd1325d1d9afede60202d8833011c9001f2.zip |
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
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions