]> git.baikalelectronics.ru Git - kernel.git/commit
genirq/msi: Provide a set of advanced MSI accessors and iterators
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:51:08 +0000 (23:51 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:22:17 +0000 (22:22 +0100)
commitad4cfee097cc586ec21bea1476e7e0d97a55f406
tree62eda7a479602d007d6e3d12d4d9ba39e3e07b72
parentcddd6063e26edb6ae0de212a1222340270daaf91
genirq/msi: Provide a set of advanced MSI accessors and iterators

In preparation for dynamic handling of MSI-X interrupts provide a new set
of MSI descriptor accessor functions and iterators. They are benefitial per
se as they allow to cleanup quite some code in various MSI domain
implementations.

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.818635078@linutronix.de
include/linux/msi.h
kernel/irq/msi.c