Linux-HyperV List
 help / color / mirror / Atom feed
From: wei.liu@kernel.org
To: Linux on Hyper-V List <linux-hyperv@vger.kernel.org>
Cc: mukeshrathor@linux.microsoft.com, anirudh@anirudhrb.com,
	schakrabarti@linux.microsoft.com, Wei Liu <wei.liu@kernel.org>,
	"K. Y. Srinivasan" <kys@microsoft.com>,
	Haiyang Zhang <haiyangz@microsoft.com>,
	Dexuan Cui <decui@microsoft.com>, Long Li <longli@microsoft.com>
Subject: [PATCH 0/3] Fix pci-hyperv interrupt code on a nested root partition
Date: Fri, 21 Aug 2026 17:36:19 -0700	[thread overview]
Message-ID: <20260822003623.2925128-1-wei.liu@kernel.org> (raw)

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


             reply	other threads:[~2026-08-22  0:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-22  0:36 wei.liu [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260822003623.2925128-1-wei.liu@kernel.org \
    --to=wei.liu@kernel.org \
    --cc=anirudh@anirudhrb.com \
    --cc=decui@microsoft.com \
    --cc=haiyangz@microsoft.com \
    --cc=kys@microsoft.com \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=longli@microsoft.com \
    --cc=mukeshrathor@linux.microsoft.com \
    --cc=schakrabarti@linux.microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox