]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/vector/msi: Select CONFIG_GENERIC_IRQ_RESERVATION_MODE
authorThomas Gleixner <tglx@linutronix.de>
Tue, 17 Oct 2017 07:54:59 +0000 (09:54 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 18 Oct 2017 13:38:31 +0000 (15:38 +0200)
commitc201c91799d687c0a6d8c3272950f51aad5ffebe
treeeb12970051d847633f555cde614478885b41c2d2
parent25e960efc63852b84d1c3739aef586285b177395
x86/vector/msi: Select CONFIG_GENERIC_IRQ_RESERVATION_MODE

Select CONFIG_GENERIC_IRQ_RESERVATION_MODE so PCI/MSI domains get the
MSI_FLAG_MUST_REACTIVATE flag set in pci_msi_create_irq_domain().

Remove the explicit setters of this flag in the apic/msi code as they are
not longer required.

Fixes: 4900be83602b ("x86/vector/msi: Switch to global reservation mode")
Reported-and-tested-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Josh Poulson <jopoulso@microsoft.com>
Cc: Mihai Costache <v-micos@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: linux-pci@vger.kernel.org
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Simon Xiao <sixiao@microsoft.com>
Cc: Saeed Mahameed <saeedm@mellanox.com>
Cc: Jork Loeser <Jork.Loeser@microsoft.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: devel@linuxdriverproject.org
Cc: KY Srinivasan <kys@microsoft.com>
Link: https://lkml.kernel.org/r/20171017075600.527569354@linutronix.de
arch/x86/Kconfig
arch/x86/kernel/apic/msi.c