Skip to content

hyper-v: avoid tsc calibration

Vitaly Kuznetsov lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- s/AVAILABELE/AVAILABLE/ fixing the typo [Thomas Gleixner]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hyper-v: check frequency MSRs presence according to the specificationarch/x86/include/uapi/asm/hyperv.h arch/x86/kernel/cpu/mshyperv.c+8 -100 replies
2/2hyper-v: read TSC frequency from a synthetic MSRarch/x86/kernel/cpu/mshyperv.c+15 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchLadi Prosek
1/2
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.9.4