genirq/msi: Make msi_get_virq() device domain aware
authorAhmed S. Darwish <darwi@linutronix.de>
Thu, 24 Nov 2022 23:24:25 +0000 (00:24 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2022 18:20:59 +0000 (19:20 +0100)
commit98043704f375f63a47efeff123ab92fcf34b95e6
treebfd99427ae4b49600816585cfb0a2d089c0e5781
parent94ff94cfea2827e287a42781a47f37c9ef82186b
genirq/msi: Make msi_get_virq() device domain aware

In preparation of the upcoming per device multi MSI domain support, change
the interface to support lookups based on domain id and zero based index
within the domain.

Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
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/20221124230314.044613697@linutronix.de
include/linux/msi_api.h
kernel/irq/msi.c