Re: [Xen-devel] [PATCH v10 18/25] x86: L2 CAT: implement CPU init and free flow.

2017-04-13 Thread Jan Beulich
>>> On 13.04.17 at 10:12, wrote: > On 17-04-12 09:18:51, Jan Beulich wrote: >> >>> On 01.04.17 at 15:53, wrote: >> > @@ -304,10 +305,14 @@ static void cat_init_feature(const struct cpuid_leaf > *regs, >> > switch ( type ) >> > { >> > case PSR_SOCKET_L3_CAT: >> > +case PSR_SOCK

Re: [Xen-devel] [PATCH v10 18/25] x86: L2 CAT: implement CPU init and free flow.

2017-04-13 Thread Yi Sun
On 17-04-12 09:18:51, Jan Beulich wrote: > >>> On 01.04.17 at 15:53, wrote: > > @@ -304,10 +305,14 @@ static void cat_init_feature(const struct cpuid_leaf > > *regs, > > switch ( type ) > > { > > case PSR_SOCKET_L3_CAT: > > +case PSR_SOCKET_L2_CAT: > > /* cos=0 is rese

Re: [Xen-devel] [PATCH v10 18/25] x86: L2 CAT: implement CPU init and free flow.

2017-04-12 Thread Jan Beulich
>>> On 01.04.17 at 15:53, wrote: > @@ -304,10 +305,14 @@ static void cat_init_feature(const struct cpuid_leaf > *regs, > switch ( type ) > { > case PSR_SOCKET_L3_CAT: > +case PSR_SOCKET_L2_CAT: > /* cos=0 is reserved as default cbm(all bits within cbm_len are 1). > */

[Xen-devel] [PATCH v10 18/25] x86: L2 CAT: implement CPU init and free flow.

2017-04-01 Thread Yi Sun
This patch implements the CPU init and free flow for L2 CAT. Signed-off-by: Yi Sun --- v10: - implement L2 CAT case in 'cat_init_feature'. (suggested by Jan Beulich) - changes about 'props'. (suggested by Jan Beulich) - introduce 'PSR_CBM_TYPE_L2'. v9: - modify error h