genirq/msi: Make descriptor allocation device domain aware
authorThomas Gleixner <tglx@linutronix.de>
Thu, 24 Nov 2022 23:24:29 +0000 (00:24 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2022 18:20:59 +0000 (19:20 +0100)
commitfc8ab388325ddfd848d00f3a3383b4304594546a
tree0a21fa7bb25e214cf5cadd55dafe029e72bd1346
parent1c89396300292da4e4a87db63bef45975461fa25
genirq/msi: Make descriptor allocation device domain aware

Change the descriptor allocation and insertion functions to take a domain
id to prepare for the upcoming multi MSI domain per device support.

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