Re: [Xen-devel] [PATCH 03/13] x86/hvm: Collect information of TSC scaling ratio

2015-10-22 Thread Haozhong Zhang
On Thu, Oct 22, 2015 at 06:53:27AM -0600, Jan Beulich wrote: > >>> On 28.09.15 at 09:13, wrote: > > Both VMX TSC scaling and SVM TSC ratio use the 64-bit TSC scaling ratio, > > but the number of fractional bits of the ratio is different between VMX > > and SVM. This

Re: [Xen-devel] [PATCH 03/13] x86/hvm: Collect information of TSC scaling ratio

2015-10-22 Thread Jan Beulich
>>> On 28.09.15 at 09:13, wrote: > Both VMX TSC scaling and SVM TSC ratio use the 64-bit TSC scaling ratio, > but the number of fractional bits of the ratio is different between VMX > and SVM. This patch makes the architecture code to collect the number of > fractional

Re: [Xen-devel] [PATCH 03/13] x86/hvm: Collect information of TSC scaling ratio

2015-10-22 Thread Jan Beulich
>>> On 22.10.15 at 16:40, wrote: > On Thu, Oct 22, 2015 at 06:53:27AM -0600, Jan Beulich wrote: >> >>> On 28.09.15 at 09:13, wrote: >> > --- a/xen/include/asm-x86/hvm/svm/svm.h >> > +++ b/xen/include/asm-x86/hvm/svm/svm.h >> > @@ -96,6 +96,7 @@

Re: [Xen-devel] [PATCH 03/13] x86/hvm: Collect information of TSC scaling ratio

2015-10-22 Thread Haozhong Zhang
On Thu, Oct 22, 2015 at 08:51:13AM -0600, Jan Beulich wrote: > >>> On 22.10.15 at 16:40, wrote: > > On Thu, Oct 22, 2015 at 06:53:27AM -0600, Jan Beulich wrote: > >> >>> On 28.09.15 at 09:13, wrote: > >> > ---

[Xen-devel] [PATCH 03/13] x86/hvm: Collect information of TSC scaling ratio

2015-09-28 Thread Haozhong Zhang
Both VMX TSC scaling and SVM TSC ratio use the 64-bit TSC scaling ratio, but the number of fractional bits of the ratio is different between VMX and SVM. This patch makes the architecture code to collect the number of fractional bits and other related information into fields of struct