[PATCH v2 0/2] hyper-v: avoid tsc calibration

From: Vitaly Kuznetsov
Date: Thu Jun 22 2017 - 06:07:45 EST


Changes since v1:
- s/AVAILABELE/AVAILABLE/ fixing the typo [Thomas Gleixner]

Original description:

TSC calibration on virtual machines is always error prone. It was found
that in nested environments Gen2 instances may get stuck on boot. As
Hyper-V hosts provide us with all the required information we can easily
avoid calibration. This is already done for other hypervisors (KVM,
Vmware).

Vitaly Kuznetsov (2):
hyper-v: check frequency MSRs presence according to the specification
hyper-v: read TSC frequency from a synthetic MSR

arch/x86/include/uapi/asm/hyperv.h | 15 ++++++---------
arch/x86/kernel/cpu/mshyperv.c | 18 +++++++++++++++++-
2 files changed, 23 insertions(+), 10 deletions(-)

--
2.9.4