Skip to content

ioreq: add support for internal servers

Roger Pau Monne xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 13 repliesIn review
  2. v211 patches 44 repliesSuperseded
  3. v17 patches 12 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ioreq: terminate cf8 handling at hypervisor levelxen/arch/x86/hvm/ioreq.c+7 -32 replies
2/10ioreq: switch selection and forwarding to use ioservid_txen/arch/x86/hvm/dm.c xen/arch/x86/hvm/emulate.c xen/arch/x86/hvm/ioreq.c +5 more+41 -420 replies
3/10ioreq: add fields to allow internal ioreq serversxen/include/asm-x86/hvm/domain.h+19 -111 reply
4/10ioreq: add internal ioreq initialization supportxen/arch/x86/hvm/dm.c xen/arch/x86/hvm/ioreq.c xen/include/asm-x86/hvm/domain.h +1 more+105 -443 replies
5/10ioreq: allow dispatching ioreqs to internal serversxen/arch/x86/hvm/ioreq.c+10 -11 reply
6/10ioreq: allow registering internal ioreq server handlerxen/arch/x86/hvm/ioreq.c xen/include/asm-x86/hvm/ioreq.h+36 -02 replies
7/10ioreq: allow decoding accesses to MMCFG regionsxen/arch/x86/hvm/dom0_build.c xen/arch/x86/hvm/hvm.c xen/arch/x86/hvm/io.c +4 more+75 -682 replies
8/10vpci: register as an internal ioreq servertools/tests/vpci/Makefile tools/tests/vpci/emul.h xen/arch/x86/hvm/dom0_build.c +4 more+79 -2221 reply
9/10ioreq: split the code to detect PCI config space accessesxen/arch/x86/hvm/ioreq.c+67 -440 replies
10/10ioreq: provide support for long-running operations...xen/arch/x86/hvm/ioreq.c xen/drivers/vpci/header.c xen/drivers/vpci/vpci.c +2 more+89 -441 reply

Reviews trailers per patch

7 of 10 patches have a Reviewed-by or Acked-by.

PatchPaul DurrantJan Beulich
1/10R-b
2/10R-b A-b
3/10R-b A-b
4/10
5/10R-b
6/10R-b
7/10R-b
8/10
9/10
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Xen-devel] [PATCH v3 00/10] ioreq: add support for internal servers

Such internal servers are implemented by a single function that handles ioreqs inside the hypervisor.

The motivation behind this change is to switch vPCI to become an internal ioreq server, so that accesses to the PCI config space can be multiplexed between devices handled by vPCI and devices handled by other ioreq servers.

The implementation is fairly simple and limited to what's needed by vPCI, but can be expanded in the future if other more complex users appear.

The series can also be found at:

git://xenbits.xen.org/people/royger/xen.git ioreq_vpci_v3

Thanks, Roger.

Roger Pau Monne (10):
ioreq: terminate cf8 handling at hypervisor level
ioreq: switch selection and forwarding to use ioservid_t
ioreq: add fields to allow internal ioreq servers
ioreq: add internal ioreq initialization support
ioreq: allow dispatching ioreqs to internal servers
ioreq: allow registering internal ioreq server handler
ioreq: allow decoding accesses to MMCFG regions
vpci: register as an internal ioreq server
ioreq: split the code to detect PCI config space accesses
ioreq: provide support for long-running operations...

 tools/tests/vpci/Makefile           |   5 +-
 tools/tests/vpci/emul.h             |   4 +
 xen/arch/x86/hvm/dm.c               |  19 +-
 xen/arch/x86/hvm/dom0_build.c       |   9 +-
 xen/arch/x86/hvm/emulate.c          |  14 +-
 xen/arch/x86/hvm/hvm.c              |   7 +-
 xen/arch/x86/hvm/io.c               | 248 ++------------------
 xen/arch/x86/hvm/ioreq.c            | 348 ++++++++++++++++++++--------
 xen/arch/x86/hvm/stdvga.c           |   8 +-
 xen/arch/x86/mm/p2m.c               |  20 +-
 xen/arch/x86/physdev.c              |   5 +-
 xen/drivers/passthrough/x86/iommu.c |   2 +-
 xen/drivers/vpci/header.c           |  60 ++---
 xen/drivers/vpci/vpci.c             |  70 +++++-
 xen/include/asm-x86/hvm/domain.h    |  35 ++-
 xen/include/asm-x86/hvm/io.h        |  29 ++-
 xen/include/asm-x86/hvm/ioreq.h     |  17 +-
 xen/include/asm-x86/hvm/vcpu.h      |   3 +-
 xen/include/asm-x86/p2m.h           |   9 +-
 xen/include/public/hvm/dm_op.h      |   1 +
 xen/include/xen/vpci.h              |  28 +--
 21 files changed, 495 insertions(+), 446 deletions(-)
Signature · 7 lines
2.23.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel