Re: [Xen-devel] [PATCH v5 03/13] x86: detect and initialize Intel CAT feature

2015-04-21 Thread Chao Peng
On Mon, Apr 20, 2015 at 06:13:12PM +0200, Dario Faggioli wrote: > On Fri, 2015-04-17 at 22:33 +0800, Chao Peng wrote: > > > --- a/xen/arch/x86/psr.c > > +++ b/xen/arch/x86/psr.c > > @@ -19,14 +19,25 @@ > > #include > > > > #define PSR_CMT(1<<0) > > +#define PSR_CAT(1<<1) > > +

Re: [Xen-devel] [PATCH v5 03/13] x86: detect and initialize Intel CAT feature

2015-04-20 Thread Dario Faggioli
On Fri, 2015-04-17 at 22:33 +0800, Chao Peng wrote: > --- a/xen/arch/x86/psr.c > +++ b/xen/arch/x86/psr.c > @@ -19,14 +19,25 @@ > #include > > #define PSR_CMT(1<<0) > +#define PSR_CAT(1<<1) > + > +struct psr_cat_socket_info { > +bool_t initialized; > +bool_t enabled; >