All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Implement SR-IOV support for PVH
@ 2026-03-09 11:08 Mykyta Poturai
  2026-03-09 11:08 ` [PATCH v2 1/8] vpci: rename and export vpci_modify_bars Mykyta Poturai
                   ` (7 more replies)
  0 siblings, 8 replies; 29+ messages in thread
From: Mykyta Poturai @ 2026-03-09 11:08 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 capabilty for PVH domains.
It allows Dom0 to enable and use SR-IOV virtual functions and for this
functions to be passed to guests.

To achieve this, handlers for SRIOV_CONTROL registes, simplified handlers
for VFs header, and scanning for added VFs were implemented in Xen.

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/

v1->v2:
* rework the series for VF discovery in Xen
* separate doc changes into the last patch


Mykyta Poturai (4):
  vpci: Use pervcpu ranges for BAR mapping
  vpci: add a wait operation to the vpci vcpu pending actions
  pci/iommu: Check that IOMMU supports removing devices
  docs: Update SR-IOV support status

Stewart Hildebrand (4):
  vpci: rename and export vpci_modify_bars
  vpci: rename and export vpci_guest_mem_bar_{read,write}
  vpci: add SR-IOV support for PVH Dom0
  vpci: add SR-IOV support for DomUs

 SUPPORT.md                    |   2 -
 xen/common/domain.c           |  24 ++
 xen/drivers/passthrough/pci.c |   6 +
 xen/drivers/vpci/Makefile     |   2 +-
 xen/drivers/vpci/header.c     | 226 +++++++++---------
 xen/drivers/vpci/sriov.c      | 420 ++++++++++++++++++++++++++++++++++
 xen/drivers/vpci/vpci.c       |   3 -
 xen/include/xen/vpci.h        |  42 +++-
 8 files changed, 608 insertions(+), 117 deletions(-)
 create mode 100644 xen/drivers/vpci/sriov.c

-- 
2.51.2

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

end of thread, other threads:[~2026-04-01 14:59 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-09 11:08 [PATCH v2 0/8] Implement SR-IOV support for PVH Mykyta Poturai
2026-03-09 11:08 ` [PATCH v2 1/8] vpci: rename and export vpci_modify_bars Mykyta Poturai
2026-03-16 21:03   ` Stewart Hildebrand
2026-03-09 11:08 ` [PATCH v2 4/8] vpci: add a wait operation to the vpci vcpu pending actions Mykyta Poturai
2026-03-17 14:02   ` Stewart Hildebrand
2026-03-31  9:53   ` Jan Beulich
2026-03-31 14:55   ` Jan Beulich
2026-04-01  7:59     ` Mykyta Poturai
2026-04-01  8:21       ` Jan Beulich
2026-04-01 14:07         ` Mykyta Poturai
2026-04-01 14:14           ` Jan Beulich
2026-04-01 14:40             ` Mykyta Poturai
2026-04-01 14:44               ` Jan Beulich
2026-03-09 11:08 ` [PATCH v2 2/8] vpci: rename and export vpci_guest_mem_bar_{read,write} Mykyta Poturai
2026-03-16 21:04   ` Stewart Hildebrand
2026-03-09 11:08 ` [PATCH v2 3/8] vpci: Use pervcpu ranges for BAR mapping Mykyta Poturai
2026-03-16 21:36   ` Stewart Hildebrand
2026-03-17  0:36   ` Stewart Hildebrand
2026-03-31  9:59   ` Jan Beulich
2026-03-31 11:56     ` Andrew Cooper
2026-03-09 11:08 ` [PATCH v2 5/8] pci/iommu: Check that IOMMU supports removing devices Mykyta Poturai
2026-03-31 14:28   ` Jan Beulich
2026-03-09 11:08 ` [PATCH v2 6/8] vpci: add SR-IOV support for PVH Dom0 Mykyta Poturai
2026-03-19 21:11   ` Stewart Hildebrand
2026-03-23  9:46     ` Mykyta Poturai
2026-03-31 14:44   ` Jan Beulich
2026-03-09 11:08 ` [PATCH v2 8/8] docs: Update SR-IOV support status Mykyta Poturai
2026-03-09 11:08 ` [PATCH v2 7/8] vpci: add SR-IOV support for DomUs Mykyta Poturai
2026-03-31 15:02   ` 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.