genirq/msi: Make msi_add_simple_msi_descs() device domain aware
authorThomas Gleixner <tglx@linutronix.de>
Thu, 24 Nov 2022 23:24:32 +0000 (00:24 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2022 18:21:00 +0000 (19:21 +0100)
commit40742716f294449549884421170ea18356a2abe8
tree2f811d7ac34ae80fa6211ad0aa7a9ac376d2c157
parent377712c5a45f6de40bffef5ddc31b39cd86cf23f
genirq/msi: Make msi_add_simple_msi_descs() device domain aware

Allocating simple interrupt descriptors in the core code has to be multi
device irqdomain aware for the upcoming PCI/IMS support.

Change the interfaces to take a domain id into account. Use the internal
control struct for transport of arguments.

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.279112474@linutronix.de
kernel/irq/msi.c