Skip to content

x86/PCI/MSI: Make sure that irq reservation mode works everywhere

Thomas Gleixner linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3genirq: Add config option for reservation modekernel/irq/Kconfig+3 -00 replies
2/3PCI/MSI: Set MSI_FLAG_MUST_REACTIVATE in core codedrivers/pci/msi.c+2 -01 reply
3/3x86/vector/msi: Select CONFIG_GENERIC_IRQ_RESERVATION_MODEarch/x86/Kconfig arch/x86/kernel/apic/msi.c+3 -42 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBjorn Helgaas
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)