x86/irq: Initialize PCI/MSI domain at PCI init time
authorThomas Gleixner <tglx@linutronix.de>
Wed, 26 Aug 2020 11:16:50 +0000 (13:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2020 14:52:35 +0000 (16:52 +0200)
commit6b15ffa07dc325f4e4dd98c877bfa970202c378b
tree762568a374d350468ae6b770532534ce16a9d339
parent445d3595ab290ba16ca5f202c7a67d71460cb39f
x86/irq: Initialize PCI/MSI domain at PCI init time

No point in initializing the default PCI/MSI interrupt domain early and no
point to create it when XEN PV/HVM/DOM0 are active.

Move the initialization to pci_arch_init() and convert it to init ops so
that XEN can override it as XEN has it's own PCI/MSI management. The XEN
override comes in a later step.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20200826112332.859209894@linutronix.de
arch/x86/include/asm/irqdomain.h
arch/x86/include/asm/x86_init.h
arch/x86/kernel/apic/msi.c
arch/x86/kernel/apic/vector.c
arch/x86/kernel/x86_init.c
arch/x86/pci/init.c