Linux-HyperV List
 help / color / mirror / Atom feed
From: wei.liu@kernel.org
To: Linux on Hyper-V List <linux-hyperv@vger.kernel.org>,
	linux-pci@vger.kernel.org
Cc: Wei Liu <wei.liu@kernel.org>
Subject: [PATCH RFC 0/2] Support Hyper-V vPCI controller reset method
Date: Fri, 24 Jul 2026 16:08:41 -0700	[thread overview]
Message-ID: <20260724230844.3259741-1-wei.liu@kernel.org> (raw)

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

Hi,

On Azure, there are devices that don't support function level or PM
reset. They can only be reset by sending a VMBus message to the host.

This series is RFC because I modelled the reset method at the controller
level. If there is a better way to do it, I'm happy to change the code.

Thanks,
Wei

Wei Liu (2):
  PCI: Add controller reset method
  PCI: hv: Add vPCI device reset support

 Documentation/virt/hyperv/vpci.rst  |  2 +-
 drivers/pci/controller/pci-hyperv.c | 61 +++++++++++++++++++++++++++++
 drivers/pci/pci.c                   | 22 +++++++++++
 include/linux/pci.h                 |  3 +-
 4 files changed, 86 insertions(+), 2 deletions(-)

-- 
2.53.0


             reply	other threads:[~2026-07-24 23:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-24 23:08 wei.liu [this message]
2026-07-24 23:08 ` [PATCH RFC 1/2] PCI: Add controller reset method wei.liu
2026-07-24 23:16   ` sashiko-bot
2026-07-24 23:08 ` [PATCH RFC 2/2] PCI: hv: Add vPCI device reset support wei.liu
2026-07-24 23:25   ` sashiko-bot

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=20260724230844.3259741-1-wei.liu@kernel.org \
    --to=wei.liu@kernel.org \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    /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