genirq/msi: Provide struct msi_map
authorThomas Gleixner <tglx@linutronix.de>
Thu, 24 Nov 2022 23:26:13 +0000 (00:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2022 21:22:33 +0000 (22:22 +0100)
commit06bff9e347271566e8dd79e7c3eb971660209a00
treec0c96e536d3fad62dafc7fb210f267a1a5791612
parent4d5a4ccc519ab0a62e220dc8dcd8bc1c5f8fee10
genirq/msi: Provide struct msi_map

A simple struct to hold a MSI index / Linux interrupt number pair. It will
be returned from the dynamic vector allocation function and handed back to
the corresponding free() function.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221124232326.326410494@linutronix.de
include/linux/msi_api.h