From: "Jan Beulich" Subject: Re: [PATCH v8 2/2] x86/viridian: Add partition time reference counter MSR support Date: Thu, 28 Aug 2014 09:03:20 +0100 Message-ID: <53FEFE68020000780002E881@mail.emea.novell.com> References: <1409156218-47714-1-git-send-email-paul.durrant@citrix.com> <1409156218-47714-3-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1409156218-47714-3-git-send-email-paul.durrant@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: Keir Fraser , Ian Campbell , Stefano Stabellini , Christoph Egger , IanJackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 27.08.14 at 18:16, wrote: > This patch optionally re-instates support for the partition time reference > counter that was previously introduced by commit > e36cd2cdc9674a7a4855d21fb7b3e6e17c4bb33b and reverted by commit > 1cd4fab14ce25859efa4a2af13475e6650a5506c. The previous implementation was > non-optional and flawed. > > This implementation uses the tsc of vcpu0, which is preserved across > save/restore as part of the architectural state, and then converts that > to a 100ns tick using the domain's tsc_khz. > > Signed-off-by: Paul Durrant Hypervisor parts Acked-by: Jan Beulich