On 17-06-30 01:36:57, Jan Beulich wrote:
> >>> Yi Sun 06/30/17 9:28 AM >>>
> >On 17-06-30 00:58:47, Jan Beulich wrote:
> >> >>> Yi Sun 06/14/17 3:26 AM >>>
> >> > @@ -1407,6 +1424,19 @@ static void psr_cpu_init(void)
> >> > info->feat_init = true;
> >> > }
> >> >
> >> > +cpuid
>>> Yi Sun 06/30/17 9:28 AM >>>
>On 17-06-30 00:58:47, Jan Beulich wrote:
>> >>> Yi Sun 06/14/17 3:26 AM >>>
>> > @@ -1407,6 +1424,19 @@ static void psr_cpu_init(void)
>> > info->feat_init = true;
>> > }
>> >
>> > +cpuid_count_leaf(PSR_CPUID_LEVEL_CAT, 0, ®s);
>> > +if ( r
On 17-06-30 00:58:47, Jan Beulich wrote:
> >>> Yi Sun 06/14/17 3:26 AM >>>
> > @@ -279,10 +281,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 reser
>>> Yi Sun 06/14/17 3:26 AM >>>
> @@ -279,10 +281,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).
> */