acrn-hypervisor/hypervisor/include
Jian Jun Chen 31b8b698ce hv: TLFS: Add tsc_offset support for reference time
TLFS spec defines that when a VM is created, the value of
HV_X64_MSR_TIME_REF_COUNT is set to zero. Now tsc_offset is not
supported properly, so guest get a drifted reference time.

This patch implements tsc_offset. tsc_scale and tsc_offset
are calculated when a VM is launched and are saved in
struct acrn_hyperv of struct acrn_vm.

Tracked-On: #5956
Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com>
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2021-04-23 10:48:07 +08:00
..
arch/x86 hv: TLFS: Add tsc_offset support for reference time 2021-04-23 10:48:07 +08:00
common hv/mod-irq: use arch specific header files 2021-03-24 11:38:14 +08:00
debug hv/mod-irq: use arch specific header files 2021-03-24 11:38:14 +08:00
dm hv/mod-irq: use arch specific header files 2021-03-24 11:38:14 +08:00
hw HV: deny HV owned PCI bar access from SOS 2021-02-03 14:01:23 +08:00
lib hv: bugfix in min() and max() MACROs 2021-04-23 09:58:21 +08:00
public hv: rename hypercall for hv-emulated device management 2020-12-07 16:25:17 +08:00