Linux-HyperV List
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix pci-hyperv interrupt code on a nested root partition
@ 2026-08-22  0:36 wei.liu
  2026-08-22  0:36 ` [PATCH 1/3] x86/hyperv: export hv_unmap_msi_interrupt() wei.liu
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: wei.liu @ 2026-08-22  0:36 UTC (permalink / raw)
  To: Linux on Hyper-V List
  Cc: mukeshrathor, anirudh, schakrabarti, Wei Liu, K. Y. Srinivasan,
	Haiyang Zhang, Dexuan Cui, Long Li

From: Wei Liu <wei.liu@kernel.org>

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" <kys@microsoft.com>,
CC: Haiyang Zhang <haiyangz@microsoft.com>,
CC: Dexuan Cui <decui@microsoft.com>,
CC: Long Li <longli@microsoft.com>,

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

-- 
2.53.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-08-27  4:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-22  0:36 [PATCH 0/3] Fix pci-hyperv interrupt code on a nested root partition wei.liu
2026-08-22  0:36 ` [PATCH 1/3] x86/hyperv: export hv_unmap_msi_interrupt() wei.liu
2026-08-25 17:25   ` [EXTERNAL] " Long Li
2026-08-22  0:36 ` [PATCH 2/3] PCI: hv: unmap MSI interrupt on the nested root partition teardown path wei.liu
2026-08-22  0:45   ` sashiko-bot
2026-08-25 20:12   ` [EXTERNAL] " Long Li
2026-08-26 21:31     ` Wei Liu
2026-08-27  4:28   ` Michael Kelley
2026-08-22  0:36 ` [PATCH 3/3] PCI: hv: fix interrupt affinity change on the nested root partition wei.liu
2026-08-22  0:52   ` sashiko-bot
2026-08-25 20:33   ` [EXTERNAL] " Long Li
2026-08-27  4:28   ` Michael Kelley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox