[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC 02/31] tools/libxc: Use public/featureset.h for cpuid policy generation



On Tue, 2015-12-22 at 09:29 -0700, Jan Beulich wrote:
> > > > On 16.12.15 at 22:24, <andrew.cooper3@xxxxxxxxxx> wrote:
> > --- a/xen/include/public/arch-x86/featureset.h
> > +++ b/xen/include/public/arch-x86/featureset.h
> > @@ -163,6 +163,7 @@
> > Â
> > Â/* Intel-defined CPU features, CPUID level 0x00000007:0.ebx, word 5 */
> > Â#define X86_FEATURE_FSGSBASEÂÂÂÂÂÂ( 5*32+ 0) /* {RD,WR}{FS,GS}BASE
> > instructions */
> > +#define X86_FEATURE_TSC_ADJUSTÂÂÂÂ( 5*32+ 1) /* TSC_ADJUST MSR
> > available */
> 
> This would probably better go into patch 1.

Tools would then see this defined twice with only patch 1 applied, and
since the value is actually different I think the compiler will complain.

-#define X86_FEATURE_TSC_ADJUSTÂÂÂ1 /* Tsc thread offset */
+#define X86_FEATURE_TSC_ADJUSTÂÂÂÂ( 5*32+ 1) /* TSC_ADJUST MSR available */

The comment change seems to be a semantic one? Or was it wrong beofre?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.