x86/xen: Consolidate XEN-MSI init
authorThomas Gleixner <tglx@linutronix.de>
Wed, 26 Aug 2020 11:16:56 +0000 (13:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2020 14:52:36 +0000 (16:52 +0200)
commit70b59379efc3c818f48b8037e574654fb29f907c
tree6d2e1697707acfbeff5265b3e9e29f6d9d144b5b
parent7d4d892de6e74194fcfd4ff69f21ba3da97ae282
x86/xen: Consolidate XEN-MSI init

X86 cannot store the irq domain pointer in struct device without breaking
XEN because the irq domain pointer takes precedence over arch_*_msi_irqs()
fallbacks.

To achieve this XEN MSI interrupt management needs to be wrapped into an
irq domain.

Move the x86_msi ops setup into a single function to prepare for this.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20200826112333.420224092@linutronix.de
arch/x86/pci/xen.c