Re: [Xen-devel] [PATCH v10 16/25] x86: refactor psr: CDP: implement get value flow.

2017-04-12 Thread Jan Beulich
>>> On 12.04.17 at 08:05, wrote: > On 17-04-11 09:39:55, Jan Beulich wrote: >> >>> On 01.04.17 at 15:53, wrote: >> > @@ -755,7 +765,7 @@ static int gather_val_array(uint32_t val[], >> > cos = 0; >> > >> > /* Value getting order is same as feature array. */ >> > -fe

Re: [Xen-devel] [PATCH v10 16/25] x86: refactor psr: CDP: implement get value flow.

2017-04-11 Thread Yi Sun
On 17-04-11 09:39:55, Jan Beulich wrote: > >>> On 01.04.17 at 15:53, wrote: > > @@ -755,7 +765,7 @@ static int gather_val_array(uint32_t val[], > > cos = 0; > > > > /* Value getting order is same as feature array. */ > > -feat->props->get_val(feat, cos, &val[0]); >

Re: [Xen-devel] [PATCH v10 16/25] x86: refactor psr: CDP: implement get value flow.

2017-04-11 Thread Jan Beulich
>>> On 01.04.17 at 15:53, wrote: > @@ -755,7 +765,7 @@ static int gather_val_array(uint32_t val[], > cos = 0; > > /* Value getting order is same as feature array. */ > -feat->props->get_val(feat, cos, &val[0]); > +feat->props->get_val(feat, cos, 0, &val[0]);

[Xen-devel] [PATCH v10 16/25] x86: refactor psr: CDP: implement get value flow.

2017-04-01 Thread Yi Sun
This patch implements L3 CDP get value callback function. With this patch, 'psr-cat-show' can work for L3 CDP. Signed-off-by: Yi Sun --- v10: - add 'enum cbm_type type' into 'get_val' parameters to handle CDP case. (suggested by Jan Beulich) v9: - modify the type of 'l3_cdp_get_val