Skip to content

Fix pci-hyperv interrupt code on a nested root partition

[email protected] linux-hyperv linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/hyperv: export hv_unmap_msi_interrupt()arch/x86/hyperv/irqdomain.c arch/x86/include/asm/mshyperv.h+7 -41 reply
2/3PCI: hv: unmap MSI interrupt on the nested root partition teardown pathdrivers/pci/controller/pci-hyperv.c+78 -73 replies
3/3PCI: hv: fix interrupt affinity change on the nested root partitiondrivers/pci/controller/pci-hyperv.c+39 -22 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchLong Li
1/3R-b
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] Fix pci-hyperv interrupt code on a nested root partition

From: Wei Liu <[email protected]>

There are two issues in pci-hyperv when Linux runs as the root partition on a nested setup.

1. Interrupt state between Linux and the hypervisor is out of sync due to pci-hyperv not issuing unmap hypercall.
2. Interrupt migration is broken due to Linux doesn't retarget interrupts correctly.

The first patch is trivial. The two issues are fixed by two separate patches.

Wei

CC "K. Y. Srinivasan" <[email protected]>,
CC Haiyang Zhang <[email protected]>,
CC Dexuan Cui <[email protected]>,
CC Long Li <[email protected]>,

Wei Liu (3):
x86/hyperv: export hv_unmap_msi_interrupt()
PCI: hv: unmap MSI interrupt on the nested root partition teardown
path
PCI: hv: fix interrupt affinity change on the nested root partition

 arch/x86/hyperv/irqdomain.c         |   9 +-
 arch/x86/include/asm/mshyperv.h     |   2 +
 drivers/pci/controller/pci-hyperv.c | 122 ++++++++++++++++++++++++++--
 3 files changed, 122 insertions(+), 11 deletions(-)
Signature · 1 line
2.53.0