From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [PATCH v5 3/3] x86/viridian: Add partition time reference counter MSR support Date: Tue, 12 Aug 2014 16:27:03 +0100 Message-ID: <21482.12871.364568.487169@mariner.uk.xensource.com> References: <1407244035-25977-1-git-send-email-paul.durrant@citrix.com> <1407244035-25977-4-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: <1407244035-25977-4-git-send-email-paul.durrant@citrix.com> 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: Stefano Stabellini , Keir Fraser , Ian Campbell , Jan Beulich , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Paul Durrant writes ("[PATCH v5 3/3] x86/viridian: Add partition time reference counter MSR support"): > 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. The tools part of this is fine except that it does the string to number conversion in libxl rather than xl, as I have just observed wrt 1/3. Thanks, Ian.