]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5e7d98a5d7e66f3553ca4a4b933ca32e5056644
tree330d2648852955e52bc7d723b29ce98212ff5ad9
parent5ddc8c4fe6b1432ac4f1ce7b5eeee85ffdb581fd
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