From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753355AbdFSCXt (ORCPT ); Sun, 18 Jun 2017 22:23:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39856 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753241AbdFSCXs (ORCPT ); Sun, 18 Jun 2017 22:23:48 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C33964E4D0 Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=vkuznets@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com C33964E4D0 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 Subject: [PATCH 0/2] hyper-v: avoid tsc calibration Date: Mon, 19 Jun 2017 10:23:36 +0800 Message-Id: <20170619022338.7704-1-vkuznets@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 19 Jun 2017 02:23:48 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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