genirq/msi: Make descriptor freeing domain aware
authorThomas Gleixner <tglx@linutronix.de>
Thu, 24 Nov 2022 23:24:30 +0000 (00:24 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2022 18:20:59 +0000 (19:20 +0100)
commit377712c5a45f6de40bffef5ddc31b39cd86cf23f
treeae980b6e81e9a5f3427615da6bd9a7fd2c352d2c
parentfc8ab388325ddfd848d00f3a3383b4304594546a
genirq/msi: Make descriptor freeing domain aware

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

To avoid changing and extending the interfaces over and over use an core
internal control struct and hand the pointer through the various functions.

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