Re: [Xen-devel] [PATCH v2 3/7] x86: detect and initialize Intel CAT feature

2015-03-23 Thread Chao Peng
On Thu, Mar 19, 2015 at 01:35:34PM +, Jan Beulich wrote: > >>> On 19.03.15 at 13:44, wrote: > > On Thu, 2015-03-19 at 18:41 +0800, Chao Peng wrote: > > > >> diff --git a/docs/misc/xen-command-line.markdown > > b/docs/misc/xen-command-line.markdown > >> index 63871cb..768c55f 100644 > >> ---

Re: [Xen-devel] [PATCH v2 3/7] x86: detect and initialize Intel CAT feature

2015-03-20 Thread Jan Beulich
>>> On 19.03.15 at 11:41, wrote: > --- a/docs/misc/xen-command-line.markdown > +++ b/docs/misc/xen-command-line.markdown > @@ -1090,9 +1090,9 @@ This option can be specified more than once (up to 8 > times at present). > > `= ` > > ### psr (Intel) > -> `= List of ( cmt: | rmid_max: )` > +> `=

Re: [Xen-devel] [PATCH v2 3/7] x86: detect and initialize Intel CAT feature

2015-03-20 Thread Dario Faggioli
On Thu, 2015-03-19 at 13:35 +, Jan Beulich wrote: > >>> On 19.03.15 at 13:44, wrote: > > On Thu, 2015-03-19 at 18:41 +0800, Chao Peng wrote: > > > >> diff --git a/docs/misc/xen-command-line.markdown > > b/docs/misc/xen-command-line.markdown > >> index 63871cb..768c55f 100644 > >> --- a/docs/

Re: [Xen-devel] [PATCH v2 3/7] x86: detect and initialize Intel CAT feature

2015-03-19 Thread Jan Beulich
>>> On 19.03.15 at 13:44, wrote: > On Thu, 2015-03-19 at 18:41 +0800, Chao Peng wrote: > >> diff --git a/docs/misc/xen-command-line.markdown > b/docs/misc/xen-command-line.markdown >> index 63871cb..768c55f 100644 >> --- a/docs/misc/xen-command-line.markdown >> +++ b/docs/misc/xen-command-line.m

Re: [Xen-devel] [PATCH v2 3/7] x86: detect and initialize Intel CAT feature

2015-03-19 Thread Dario Faggioli
On Thu, 2015-03-19 at 18:41 +0800, Chao Peng wrote: > diff --git a/docs/misc/xen-command-line.markdown > b/docs/misc/xen-command-line.markdown > index 63871cb..768c55f 100644 > --- a/docs/misc/xen-command-line.markdown > +++ b/docs/misc/xen-command-line.markdown > @@ -1090,9 +1090,9 @@ This optio

Re: [Xen-devel] [PATCH v2 3/7] x86: detect and initialize Intel CAT feature

2015-03-19 Thread Tim Deegan
Hi, At 18:41 +0800 on 19 Mar (1426790491), Chao Peng wrote: > @@ -62,8 +84,15 @@ static void __init parse_psr_param(char *s) > *val_str++ = '\0'; > > parse_psr_bool(s, val_str, "cmt", PSR_CMT); > -if ( val_str && !strcmp(s, "rmid_max") ) > -opt_rmid_max

[Xen-devel] [PATCH v2 3/7] x86: detect and initialize Intel CAT feature

2015-03-19 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