]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
Drivers: hv: utils: Support TimeSync version 4.0 protocol samples.
authorAlex Ng <alexng@messages.microsoft.com>
Thu, 8 Sep 2016 12:24:14 +0000 (05:24 -0700)
committerLuis Henriques <luis.henriques@canonical.com>
Fri, 20 Jan 2017 13:04:58 +0000 (13:04 +0000)
commit497cf0c066911b6a214ba8fde051d333ccaad7c7
tree6e8511aff3a5b1e4a17421a53ef532a2f6e693b9
parentb938c0f2ab1668dbe43868bdc51787d0b0e10845
Drivers: hv: utils: Support TimeSync version 4.0 protocol samples.

BugLink: http://bugs.launchpad.net/bugs/1650059
This enables support for more accurate TimeSync v4 samples when hosted
under Windows Server 2016 and newer hosts.

The new time samples include a "vmreferencetime" field that represents
the guest's TSC value when the host generated its time sample. This value
lets the guest calculate the latency in receiving the time sample. The
latency is added to the sample host time prior to updating the clock.

Signed-off-by: Alex Ng <alexng@messages.microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 8e1d260738ca89bc7c87444f95f04a026d12b496)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/hv/hv_util.c
include/linux/hyperv.h