All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] vpci: add support for SR-IOV capability
@ 2018-06-20 14:42 Roger Pau Monne
  2018-06-20 14:42 ` [PATCH 01/10] vpci: move lock Roger Pau Monne
                   ` (9 more replies)
  0 siblings, 10 replies; 43+ messages in thread
From: Roger Pau Monne @ 2018-06-20 14:42 UTC (permalink / raw)
  To: xen-devel
  Cc: Stefano Stabellini, Wei Liu, George Dunlap, Andrew Cooper,
	Ian Jackson, Tim Deegan, Julien Grall, Jan Beulich,
	Roger Pau Monne

Hello,

The following series enables the usage of the SR-IOV capability by a PVH
Dom0. This allows Dom0 to enable virtual functions and access them as it
would do on bare metal.

No changes are needed in the Dom0 kernel in order to manage the PCIe
SR-IOV capability.

The first 9 patches are preparatory changes in order to support SR-IOV.
Patch 10 actually adds support for the capability.

The series has been tested with a Linux PVH Dom0 and an Intel I350 nic.

Thanks, Roger.

Roger Pau Monne (10):
  vpci: move lock
  vpci/msix: add lock to protect the list of MSIX regions
  vpci: add tear down functions
  vpci/msix: add teardown cleanup
  vpci/msi: add teardown cleanup
  vpci/header: add teardown cleanup
  rangeset: introduce rangeset_merge
  vpci/header: allow multiple map operations
  pci: add vpci hooks for device addition/removal
  vpci/sriov: add support for SR-IOV capability

 tools/tests/vpci/emul.h          |   5 +-
 tools/tests/vpci/main.c          |   4 +-
 xen/arch/arm/xen.lds.S           |   9 +-
 xen/arch/x86/hvm/hvm.c           |   1 +
 xen/arch/x86/hvm/vmsi.c          |   8 +-
 xen/arch/x86/xen.lds.S           |   9 +-
 xen/common/rangeset.c            |  12 ++
 xen/drivers/passthrough/pci.c    |   9 +
 xen/drivers/vpci/Makefile        |   2 +-
 xen/drivers/vpci/header.c        | 108 ++++++++++--
 xen/drivers/vpci/msi.c           |  34 +++-
 xen/drivers/vpci/msix.c          |  68 ++++++--
 xen/drivers/vpci/sriov.c         | 273 +++++++++++++++++++++++++++++++
 xen/drivers/vpci/vpci.c          |  73 ++++++---
 xen/include/asm-x86/hvm/domain.h |   1 +
 xen/include/xen/pci.h            |   1 +
 xen/include/xen/rangeset.h       |   3 +
 xen/include/xen/vpci.h           |  27 ++-
 18 files changed, 563 insertions(+), 84 deletions(-)
 create mode 100644 xen/drivers/vpci/sriov.c

-- 
2.17.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

end of thread, other threads:[~2021-11-23 12:20 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-20 14:42 [PATCH 00/10] vpci: add support for SR-IOV capability Roger Pau Monne
2018-06-20 14:42 ` [PATCH 01/10] vpci: move lock Roger Pau Monne
2018-06-29 10:19   ` Wei Liu
2018-06-29 13:27     ` Roger Pau Monné
2018-06-29 13:37       ` Julien Grall
2021-11-23 12:20   ` Oleksandr Andrushchenko
2018-06-20 14:42 ` [PATCH 02/10] vpci/msix: add lock to protect the list of MSIX regions Roger Pau Monne
2018-06-29 10:29   ` Wei Liu
2018-06-20 14:42 ` [PATCH 03/10] vpci: add tear down functions Roger Pau Monne
2018-06-29 10:37   ` Wei Liu
2018-07-02  7:52     ` Roger Pau Monné
2018-06-20 14:42 ` [PATCH 04/10] vpci/msix: add teardown cleanup Roger Pau Monne
2018-06-29 10:52   ` Wei Liu
2018-07-02  7:54     ` Roger Pau Monné
2018-07-02 13:55       ` Wei Liu
2018-07-02 14:02         ` Roger Pau Monné
2018-07-02 14:07           ` Wei Liu
2018-07-02 14:12             ` Roger Pau Monné
2018-06-20 14:42 ` [PATCH 05/10] vpci/msi: " Roger Pau Monne
2018-06-29 10:52   ` Wei Liu
2018-07-02  7:55     ` Roger Pau Monné
2018-06-20 14:42 ` [PATCH 06/10] vpci/header: " Roger Pau Monne
2018-06-29 11:15   ` Wei Liu
2018-07-02  8:04     ` Roger Pau Monné
2018-07-02 14:30       ` Wei Liu
2018-07-02 14:42         ` Roger Pau Monné
2018-06-20 14:42 ` [PATCH 07/10] rangeset: introduce rangeset_merge Roger Pau Monne
2018-06-29 11:23   ` Wei Liu
2018-06-20 14:42 ` [PATCH 08/10] vpci/header: allow multiple map operations Roger Pau Monne
2018-06-29 14:44   ` Wei Liu
2018-06-20 14:42 ` [PATCH 09/10] pci: add vpci hooks for device addition/removal Roger Pau Monne
2018-06-29 14:50   ` Wei Liu
2018-06-20 14:42 ` [PATCH 10/10] vpci/sriov: add support for SR-IOV capability Roger Pau Monne
2018-06-29 15:27   ` Wei Liu
2018-07-02  8:12     ` Roger Pau Monné
2018-07-03  9:27   ` Wei Liu
2018-07-03 10:21     ` Roger Pau Monné
2018-07-03 10:48       ` Jan Beulich
2018-07-03 10:51         ` Roger Pau Monné
2018-07-03 10:56           ` Jan Beulich
2018-07-03 11:07             ` Roger Pau Monné
2018-07-03 11:47               ` Jan Beulich
2018-07-03 10:54       ` Wei Liu

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.