]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitebe2254d77221c484a0c4f3ceca2b11cb5bf9d36
tree96034b54171e7199ef0cd01ad599024b33136197
parent4bb08338a719ebce4aecc2d450a3a3fc3db600f9
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