Re: [Xen-devel] [PATCH v10 03/25] x86: refactor psr: implement main data structures.

2017-04-05 Thread Yi Sun
On 17-04-05 02:20:53, Jan Beulich wrote: > >>> On 05.04.17 at 05:12, wrote: > > On 17-04-03 09:50:34, Jan Beulich wrote: > >> >>> On 01.04.17 at 15:53, wrote: > >> > +enum psr_feat_type { > >> > +PSR_SOCKET_L3_CAT, > >> > +PSR_SOCKET_L3_CDP, > >> > +PSR_SOCKET_L2_CAT, > >> > +PSR_

Re: [Xen-devel] [PATCH v10 03/25] x86: refactor psr: implement main data structures.

2017-04-05 Thread Jan Beulich
>>> On 05.04.17 at 05:12, wrote: > On 17-04-03 09:50:34, Jan Beulich wrote: >> >>> On 01.04.17 at 15:53, wrote: >> >> I was about to ack this, but there are a few more things which bother >> me. >> > Do you mean ack to this patch 3 or whole patch set? Thanks! Well, this one patch only - I didn

Re: [Xen-devel] [PATCH v10 03/25] x86: refactor psr: implement main data structures.

2017-04-04 Thread Yi Sun
On 17-04-03 09:50:34, Jan Beulich wrote: > >>> On 01.04.17 at 15:53, wrote: > > I was about to ack this, but there are a few more things which bother > me. > Do you mean ack to this patch 3 or whole patch set? Thanks! > > --- > > v10: > > - remove initialization for 'PSR_SOCKET_L3_CAT'. > >

Re: [Xen-devel] [PATCH v10 03/25] x86: refactor psr: implement main data structures.

2017-04-03 Thread Jan Beulich
>>> On 01.04.17 at 15:53, wrote: I was about to ack this, but there are a few more things which bother me. > --- > v10: > - remove initialization for 'PSR_SOCKET_L3_CAT'. > (suggested by Jan Beulich) > - rename 'feat_ops' to 'feat_props'. > (suggested by Jan Beulich) > -

[Xen-devel] [PATCH v10 03/25] x86: refactor psr: implement main data structures.

2017-04-01 Thread Yi Sun
To construct an extendible framework, we need analyze PSR features and abstract the common things and feature specific things. Then, encapsulate them into different data structures. By analyzing PSR features, we can get below map. +--+--+--+ ->| Dom0 | Dom