Skip to content

Implement Hyper-V reference TSC based clock source

Wei Liu xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 11 repliesIn review
  2. v17 patches 22 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86: import hyperv-tlfs.h from Linuxxen/include/asm-x86/guest/hyperv-tlfs.h+907 -01 reply
2/6x86/viridian: drop duplicate defines from private.h and viridian.cxen/arch/x86/hvm/viridian/private.h xen/arch/x86/hvm/viridian/viridian.c+6 -831 reply
3/6x86/viridian: drop private copy of definitions from synic.cxen/arch/x86/hvm/viridian/synic.c+16 -521 reply
4/6x86/viridian: drop private copy of HV_REFERENCE_TSC_PAGE in time.cxen/arch/x86/hvm/viridian/time.c+11 -191 reply
5/6x86/hyperv: extract more information from Hyper-Vxen/arch/x86/guest/hyperv/hyperv.c xen/include/asm-x86/guest/hyperv.h+29 -00 replies
6/6x86: implement Hyper-V clock sourcexen/arch/x86/time.c+101 -07 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchJan BeulichPaul Durrant
1/6A-b
2/6
3/6R-b
4/6
5/6A-b
6/6R-b

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

Read the v2 thread

Cover letter [Xen-devel] [PATCH v2 0/6] Implement Hyper-V reference TSC based clock source

Hi all

This series adds a clock source based on Hyper-V's reference TSC. The meat is in the last patch. I also put in some clean up patches to Xen's viridian code per Paul's request.

With this series, Xen on Hyper-V no longer runs on emulated PIT.

(XEN) Platform timer is 2294.686MHz HYPER-V REFERENCE TSC

Wei.

Cc Jan Beulich <[email protected]>
Cc Andrew Cooper <[email protected]>
Cc Wei Liu <[email protected]>
Cc Roger Pau Monné <[email protected]>
Cc Paul Durrant <[email protected]>

Wei Liu (6):
x86: import hyperv-tlfs.h from Linux
x86/viridian: drop duplicate defines from private.h and viridian.c x86/viridian: drop private copy of definitions from synic.c x86/viridian: drop private copy of HV_REFERENCE_TSC_PAGE in time.c x86/hyperv: extract more information from Hyper-V
x86: implement Hyper-V clock source

 xen/arch/x86/guest/hyperv/hyperv.c      |  17 +
 xen/arch/x86/hvm/viridian/private.h     |  66 --
 xen/arch/x86/hvm/viridian/synic.c       |  68 +-
 xen/arch/x86/hvm/viridian/time.c        |  30 +-
 xen/arch/x86/hvm/viridian/viridian.c    |  23 +-
 xen/arch/x86/time.c                     | 101 +++
 xen/include/asm-x86/guest/hyperv-tlfs.h | 907 ++++++++++++++++++++++++
 xen/include/asm-x86/guest/hyperv.h      |  12 +
 8 files changed, 1070 insertions(+), 154 deletions(-)
 create mode 100644 xen/include/asm-x86/guest/hyperv-tlfs.h

--
2.20.1

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