[patch 0/3] x86/PCI/MSI: Make sure that irq reservation mode works everywhere

From: Thomas Gleixner
Date: Tue Oct 17 2017 - 03:56:51 EST


Dexuan reported that the recent rework of the vector allocation mode in x86
broke HyperV PCI passtrough because the rework missed to add the
MSI_FLAG_MUST_REACTIVATE flag to the HyperV/PCI interrupt domain info.

The simple solution would be to set the flag in the HyperV/PCI driver but
it's better to make this generic and let the PCI/MSI core code set the flag
when reservation mode is enabled. That ensures that future users of this
wont trip over the same problem.

Thanks,

tglx

---
arch/x86/Kconfig | 2 +-
arch/x86/kernel/apic/msi.c | 5 ++---
drivers/pci/msi.c | 2 ++
kernel/irq/Kconfig | 3 +++
4 files changed, 8 insertions(+), 4 deletions(-)