Skip to content

viridian: implement more enlightenments

Paul Durrant xen-devel 10 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest11 patches 1 replyIn review
  2. v911 patches 5 repliesSuperseded
  3. v811 patches 12 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v711 patches5 repliesSuperseded
v611 patches4 repliesSuperseded
v511 patches20 repliesSuperseded
v411 patches1 replySuperseded
v39 patches17 repliesSuperseded
v28 patches6 repliesSuperseded
v18 patches22 repliesSuperseded

v8 from the cover letter

- Squash in follow-up series

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11viridian: add init hooksxen/arch/x86/hvm/hvm.c xen/arch/x86/hvm/viridian/viridian.c xen/include/asm-x86/hvm/viridian.h+23 -00 replies
2/11viridian: separately allocate domain and vcpu structuresxen/arch/x86/hvm/viridian/private.h xen/arch/x86/hvm/viridian/synic.c xen/arch/x86/hvm/viridian/time.c +5 more+101 -780 replies
3/11viridian: use stack variables for viridian_vcpu and viridian_domain...xen/arch/x86/hvm/viridian/synic.c xen/arch/x86/hvm/viridian/time.c xen/arch/x86/hvm/viridian/viridian.c+69 -540 replies
4/11viridian: make 'fields' struct anonymous...xen/arch/x86/hvm/viridian/synic.c xen/arch/x86/hvm/viridian/time.c xen/arch/x86/hvm/viridian/viridian.c +1 more+18 -200 replies
5/11viridian: extend init/deinit hooks into synic and time modulesxen/arch/x86/hvm/viridian/private.h xen/arch/x86/hvm/viridian/synic.c xen/arch/x86/hvm/viridian/time.c +1 more+84 -20 replies
6/11viridian: add missing context save helpers into synic and time modulesxen/arch/x86/hvm/viridian/private.h xen/arch/x86/hvm/viridian/synic.c xen/arch/x86/hvm/viridian/time.c +1 more+34 -00 replies
7/11viridian: use viridian_map/unmap_guest_page() for reference tsc pagexen/arch/x86/hvm/viridian/private.h xen/arch/x86/hvm/viridian/synic.c xen/arch/x86/hvm/viridian/time.c +2 more+25 -440 replies
8/11viridian: stop directly calling viridian_time_ref_count_freeze/thaw()...xen/arch/x86/domain.c xen/arch/x86/hvm/viridian/time.c xen/include/asm-x86/hvm/viridian.h+29 -110 replies
9/11viridian: add implementation of synthetic interrupt MSRstools/libxl/libxl.h tools/libxl/libxl_dom.c tools/libxl/libxl_types.idl +7 more+323 -50 replies
10/11viridian: add implementation of synthetic timersdocs/man/xl.cfg.5.pod.in tools/libxl/libxl.h tools/libxl/libxl_dom.c +8 more+517 -131 reply
11/11viridian: add implementation of the HvSendSyntheticClusterIpi hypercalldocs/man/xl.cfg.5.pod.in tools/libxl/libxl.h tools/libxl/libxl_dom.c +3 more+85 -10 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchJan BeulichWei Liu
1/11A-b R-b
2/11A-b R-b
3/11R-b
4/11R-b
5/11R-b R-b
6/11R-b
7/11R-b
8/11A-b R-b
9/11R-b A-b
10/11R-b A-b
11/11R-b A-b

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

Read the v10 thread

Cover letter [PATCH v10 00/11] viridian: implement more enlightenments

This series adds three new enlightenments:

- Synthetic timers, which depends on the...
- Synthetic interrupt controller (or SynIC)
- Synthetic cluster IPI

All these enlightenments are implemented in current versions of QEMU/KVM so this series closes the gap.

Paul Durrant (11):
viridian: add init hooks
viridian: separately allocate domain and vcpu structures
viridian: use stack variables for viridian_vcpu and viridian_domain...
viridian: make 'fields' struct anonymous...
viridian: extend init/deinit hooks into synic and time modules
viridian: add missing context save helpers into synic and time modules
viridian: use viridian_map/unmap_guest_page() for reference tsc page
viridian: stop directly calling
viridian_time_ref_count_freeze/thaw()...
viridian: add implementation of synthetic interrupt MSRs
viridian: add implementation of synthetic timers
viridian: add implementation of the HvSendSyntheticClusterIpi
hypercall

 docs/man/xl.cfg.5.pod.in               |  18 +-
 tools/libxl/libxl.h                    |  18 +
 tools/libxl/libxl_dom.c                |  10 +
 tools/libxl/libxl_types.idl            |   3 +
 xen/arch/x86/domain.c                  |  12 +-
 xen/arch/x86/hvm/hvm.c                 |  10 +
 xen/arch/x86/hvm/viridian/private.h    |  31 +-
 xen/arch/x86/hvm/viridian/synic.c      | 376 ++++++++++++++++--
 xen/arch/x86/hvm/viridian/time.c       | 526 ++++++++++++++++++++++---
 xen/arch/x86/hvm/viridian/viridian.c   | 229 +++++++++--
 xen/arch/x86/hvm/vlapic.c              |  20 +-
 xen/include/asm-x86/hvm/domain.h       |   2 +-
 xen/include/asm-x86/hvm/hvm.h          |   7 +
 xen/include/asm-x86/hvm/vcpu.h         |   2 +-
 xen/include/asm-x86/hvm/viridian.h     |  75 +++-
 xen/include/public/arch-x86/hvm/save.h |   4 +
 xen/include/public/hvm/params.h        |  17 +-
 17 files changed, 1220 insertions(+), 140 deletions(-)

v8:
- Squash in follow-up series

v4:
- Add two cleanup patches (#3 and #4) and re-order #8 and #9

v3:
- Add the synthetic cluster IPI patch (#11)

---
Cc: Andrew Cooper <[email protected]>
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Julien Grall <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: "Roger Pau Monné" <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Tim Deegan <[email protected]>
Cc: Wei Liu <[email protected]>

Signature · 7 lines
2.20.1


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