All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/7] Implement SR-IOV support for PVH
@ 2026-04-09 14:01 Mykyta Poturai
  2026-04-09 14:01 ` [PATCH v3 1/7] vpci: rename and export vpci_modify_bars Mykyta Poturai
                   ` (6 more replies)
  0 siblings, 7 replies; 35+ messages in thread
From: Mykyta Poturai @ 2026-04-09 14:01 UTC (permalink / raw)
  To: xen-devel@lists.xenproject.org
  Cc: Mykyta Poturai, Roger Pau Monné, Stewart Hildebrand,
	Andrew Cooper, Anthony PERARD, Michal Orzel, Jan Beulich,
	Julien Grall, Stefano Stabellini, Daniel P. Smith

This series enables support for PCI SR-IOV capability for PVH domains.
It allows Dom0 to enable and use SR-IOV virtual functions and for these
functions to be passed to guests.

To achieve this, add handlers for SRIOV_CONTROL registers, simplified handlers
for VFs headers. Xen relies on dom0 to enable SR-IOV and call
PHYSDEVOP_pci_device_* to inform about addition/removal of VFs.

Core functionality is based on previous work[1].

Tested on R-Car Spider board with Samsung NVMe SSD Controller 980 and Intel
X550T ethernet card.

[1]: https://lore.kernel.org/xen-devel/20180717094830.54806-1-roger.pau@citrix.com/

v2->v3:
* rework the series for VF discovery by Dom0
* drop pci/iommu: Check that IOMMU supports removing devices, see [2]
* drop vpci: add a wait operation to the vpci vcpu pending actions
* add vpci: allow queueing of mapping operations
* minor changes in individual patches

[2]: https://patchew.org/Xen/a59c2da0d4c72deb42950e9a8e3982fbdee60668.1775555766.git.mykyta._5Fpoturai@epam.com/
v1->v2:
* rework the series for VF discovery in Xen
* separate doc changes into the last patch


Mykyta Poturai (2):
  vpci: Use pervcpu ranges for BAR mapping
  docs: Update SR-IOV support status

Stewart Hildebrand (5):
  vpci: rename and export vpci_modify_bars
  vpci: rename and export vpci_guest_mem_bar_{read,write}
  vpci: allow queueing of mapping operations
  vpci: add SR-IOV support for PVH Dom0
  vpci: add SR-IOV support for DomUs

 SUPPORT.md                 |   2 -
 xen/common/domain.c        |   2 +
 xen/drivers/vpci/Makefile  |   1 +
 xen/drivers/vpci/header.c  | 314 +++++++++++++++++++------------
 xen/drivers/vpci/private.h |  10 +
 xen/drivers/vpci/sriov.c   | 366 +++++++++++++++++++++++++++++++++++++
 xen/drivers/vpci/vpci.c    |  10 +-
 xen/include/xen/vpci.h     |  28 ++-
 8 files changed, 607 insertions(+), 126 deletions(-)
 create mode 100644 xen/drivers/vpci/sriov.c

-- 
2.51.2

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

end of thread, other threads:[~2026-05-12 13:23 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-09 14:01 [PATCH v3 0/7] Implement SR-IOV support for PVH Mykyta Poturai
2026-04-09 14:01 ` [PATCH v3 1/7] vpci: rename and export vpci_modify_bars Mykyta Poturai
2026-04-09 14:01 ` [PATCH v3 2/7] vpci: rename and export vpci_guest_mem_bar_{read,write} Mykyta Poturai
2026-04-22 10:27   ` Roger Pau Monné
2026-04-09 14:01 ` [PATCH v3 3/7] vpci: Use pervcpu ranges for BAR mapping Mykyta Poturai
2026-04-22 11:00   ` Roger Pau Monné
2026-04-22 12:04     ` Jan Beulich
2026-04-22 14:20       ` Roger Pau Monné
2026-04-09 14:01 ` [PATCH v3 4/7] vpci: allow queueing of mapping operations Mykyta Poturai
2026-04-22 11:38   ` Roger Pau Monné
2026-04-09 14:01 ` [PATCH v3 5/7] vpci: add SR-IOV support for PVH Dom0 Mykyta Poturai
2026-04-09 15:27   ` Daniel P. Smith
2026-04-21 14:43   ` Jan Beulich
2026-04-23 10:12     ` Mykyta Poturai
2026-05-04  5:37       ` Jan Beulich
2026-05-06  9:39         ` Mykyta Poturai
2026-05-06 11:54           ` Jan Beulich
2026-05-07 20:40             ` Volodymyr Babchuk
2026-05-08  5:52               ` Jan Beulich
2026-05-11 14:10                 ` Volodymyr Babchuk
2026-05-12  6:20                   ` Jan Beulich
2026-05-12  7:32                     ` Mykyta Poturai
2026-05-12  8:58                       ` Roger Pau Monné
2026-05-12 10:28                         ` Volodymyr Babchuk
2026-05-12 13:22                           ` Roger Pau Monné
2026-05-12 10:44                         ` Jan Beulich
2026-05-12 11:11                           ` Roger Pau Monné
2026-05-08  5:52               ` Jan Beulich
2026-04-22 14:19   ` Roger Pau Monné
2026-04-28 20:05   ` Stewart Hildebrand
2026-04-09 14:01 ` [PATCH v3 6/7] vpci: add SR-IOV support for DomUs Mykyta Poturai
2026-04-21 14:55   ` Jan Beulich
2026-04-24  6:34     ` Mykyta Poturai
2026-04-09 14:01 ` [PATCH v3 7/7] docs: Update SR-IOV support status Mykyta Poturai
2026-04-21 14:56   ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.