diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-12-10 23:19:23 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-12-16 22:16:40 +0100 |
commit | cf15f43acaad31dabb2646cef170a506a1d663eb (patch) | |
tree | edf03c996e5ceb82d3523f4494ae581fb7d8107e /kernel/irq/irqdomain.c | |
parent | 651b39c48813acac2b77850014390f4062a4835d (diff) | |
download | linux-cf15f43acaad31dabb2646cef170a506a1d663eb.tar.gz linux-cf15f43acaad31dabb2646cef170a506a1d663eb.tar.bz2 linux-cf15f43acaad31dabb2646cef170a506a1d663eb.zip |
genirq/msi: Provide interface to retrieve Linux interrupt number
This allows drivers to retrieve the Linux interrupt number instead of
fiddling with MSI descriptors.
msi_get_virq() returns the Linux interrupt number or 0 in case that there
is no entry for the given MSI index.
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/20211210221814.780824745@linutronix.de
Diffstat (limited to 'kernel/irq/irqdomain.c')
0 files changed, 0 insertions, 0 deletions