mbox series

[for-next,0/7] Implement Hyper-V reference TSC based clock source

Message ID 20191025091618.10153-1-liuwe@microsoft.com (mailing list archive)
Headers show
Series Implement Hyper-V reference TSC based clock source | expand

Message

Wei Liu Oct. 25, 2019, 9:16 a.m. UTC
Hi all

This series adds a clock source based on Hyper-V's reference TSC. The meat
is in the last patch.

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

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

This series depends on [0].

Wei.

0: https://lists.xen.org/archives/html/xen-devel/2019-10/msg01420.html

Cc: Jan Beulich <jbeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Wei Liu <wl@xen.org>
Cc: Roger Pau Monné <roger.pau@citrix.com>
Cc: Paul Durrant <paul@xen.org>

Wei Liu (7):
  x86: import hyperv-tlfs.h from Linux
  x86: fix up hyperv-tlfs.h
  x86/hyperv: extract more information from Hyper-V
  x86: add a comment regarding the location of hypervisor_probe
  x86: use running_on_hypervisor to gate hypervisor_setup
  x86/hyperv: provide hyperv_guest variable
  x86: implement Hyper-V clock source

 xen/arch/x86/guest/hyperv/hyperv.c      |  17 +
 xen/arch/x86/setup.c                    |   6 +-
 xen/arch/x86/time.c                     |  87 +++
 xen/include/asm-x86/guest/hyperv-tlfs.h | 907 ++++++++++++++++++++++++
 xen/include/asm-x86/guest/hyperv.h      |  14 +
 5 files changed, 1030 insertions(+), 1 deletion(-)
 create mode 100644 xen/include/asm-x86/guest/hyperv-tlfs.h