[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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 <jbeulich@xxxxxxxx>
Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Cc: Wei Liu <liuwe@xxxxxxxxxxxxx>
Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Cc: Paul Durrant <pdurrant@xxxxxxxxxx>

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
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.