From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753004AbdFVKHm (ORCPT ); Thu, 22 Jun 2017 06:07:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14020 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752927AbdFVKHl (ORCPT ); Thu, 22 Jun 2017 06:07:41 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com EF2CFC04B925 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=vkuznets@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com EF2CFC04B925 From: Vitaly Kuznetsov To: devel@linuxdriverproject.org Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Stephen Hemminger , Haiyang Zhang , "K. Y. Srinivasan" , Jork Loeser , Ladi Prosek , Thomas Gleixner Subject: [PATCH v2 0/2] hyper-v: avoid tsc calibration Date: Thu, 22 Jun 2017 18:07:28 +0800 Message-Id: <20170622100730.18112-1-vkuznets@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Thu, 22 Jun 2017 10:07:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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