genirq/msi: Provide msi_device_populate/destroy_sysfs()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 10 Dec 2021 22:19:03 +0000 (23:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:16:39 +0000 (22:16 +0100)
commitbf6e054e0e3fbc9614355b760e18c8a14f952a4e
tree96034b54171e7199ef0cd01ad599024b33136197
parent686073e9f8466de259971f1acd81b19a39e2162b
genirq/msi: Provide msi_device_populate/destroy_sysfs()

Add new allocation functions which can be activated by domain info
flags. They store the groups pointer in struct msi_device_data.

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>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211210221813.988659194@linutronix.de
include/linux/msi.h
kernel/irq/msi.c