genirq/msi: Provide domain flags to allocate/free MSI descriptors automatically
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:51:12 +0000 (23:51 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:22:17 +0000 (22:22 +0100)
commit645474e2cee450131e8b8d8a69a5d9bbabd43f3f
tree330d2648852955e52bc7d723b29ce98212ff5ad9
parent602905253607ba892336f7bba8bb45b5be819d87
genirq/msi: Provide domain flags to allocate/free MSI descriptors automatically

Provide domain info flags which tell the core to allocate simple
descriptors or to free descriptors when the interrupts are freed and
implement the required functionality.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211206210747.928198636@linutronix.de
include/linux/msi.h
kernel/irq/msi.c