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

2015-05-07 Thread Jan Beulich
>>> On 07.05.15 at 11:08, wrote: > On Fri, Apr 24, 2015 at 03:59:32PM +0100, Jan Beulich wrote: >> >>> On 23.04.15 at 11:55, wrote: >> > struct psr_cmt *__read_mostly psr_cmt; >> > + >> > +static unsigned long __read_mostly * cat_socket_init_bitmap; >> > +static unsigned long __read_mostly * cat

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

2015-05-07 Thread Chao Peng
On Fri, Apr 24, 2015 at 03:59:32PM +0100, Jan Beulich wrote: > >>> On 23.04.15 at 11:55, wrote: > > struct psr_cmt *__read_mostly psr_cmt; > > + > > +static unsigned long __read_mostly * cat_socket_init_bitmap; > > +static unsigned long __read_mostly * cat_socket_enable_bitmap; > > +static struct

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

2015-04-24 Thread Jan Beulich
>>> On 23.04.15 at 11:55, wrote: > struct psr_cmt *__read_mostly psr_cmt; > + > +static unsigned long __read_mostly * cat_socket_init_bitmap; > +static unsigned long __read_mostly * cat_socket_enable_bitmap; > +static struct psr_cat_socket_info *__read_mostly cat_socket_info; So the last line lo

[Xen-devel] [PATCH v6 03/14] x86: detect and initialize Intel CAT feature

2015-04-23 Thread Chao Peng
Detect Intel Cache Allocation Technology(CAT) feature and store the cpuid information for later use. Currently only L3 cache allocation is supported. The L3 CAT features may vary among sockets so per-socket feature information is stored. The initialization can happen either at boot time or when CPU