From: Ian Jackson Subject: Re: [PATCH v12 2/2] x86/viridian: Add partition time reference counter MSR support Date: Fri, 26 Sep 2014 15:07:19 +0100 Message-ID: <21541.29463.225091.818642@mariner.uk.xensource.com> References: <1411468810-40888-1-git-send-email-paul.durrant@citrix.com> <1411468810-40888-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: <1411468810-40888-3-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 , Christoph Egger , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Paul Durrant writes ("[PATCH v12 2/2] 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. > > Signed-off-by: Paul Durrant > Cc: Keir Fraser > Acked-by: Jan Beulich For the tools parts: Acked-by: Ian Jackson Ian.