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

2017-01-03 Thread Jan Beulich
>>> On 03.01.17 at 11:28, wrote: > Do you have any comment to other patches? Well, I'll get to them as time permits. Jan ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

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

2017-01-03 Thread Yi Sun
On 17-01-03 02:12:53, Jan Beulich wrote: > >>> On 03.01.17 at 09:49, wrote: > > On 17-01-03 01:00:37, Jan Beulich wrote: > >> >>> On 26.12.16 at 07:56, wrote: > >> > On 16-12-22 09:13:43, Jan Beulich wrote: > >> >> >>> On 14.12.16 at 05:07, wrote: > >> >> > +struct feat_node; > >> >> > + > >> >>

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

2017-01-03 Thread Jan Beulich
>>> On 03.01.17 at 09:49, wrote: > On 17-01-03 01:00:37, Jan Beulich wrote: >> >>> On 26.12.16 at 07:56, wrote: >> > On 16-12-22 09:13:43, Jan Beulich wrote: >> >> >>> On 14.12.16 at 05:07, wrote: >> >> > +struct feat_node; >> >> > + >> >> > +/* >> >> > + * This structure defines feature operati

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

2017-01-03 Thread Yi Sun
On 17-01-03 01:00:37, Jan Beulich wrote: > >>> On 26.12.16 at 07:56, wrote: > > On 16-12-22 09:13:43, Jan Beulich wrote: > >> >>> On 14.12.16 at 05:07, wrote: > >> > If Dom2 has same CBM values, it can reuse these registers which COS_ID=1. > >> > That means, both Dom1 and Dom2 use same COS regist

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

2017-01-03 Thread Jan Beulich
>>> On 26.12.16 at 07:56, wrote: > On 16-12-22 09:13:43, Jan Beulich wrote: >> >>> On 14.12.16 at 05:07, wrote: >> > So, we need define a socket info data structure, 'struct >> > psr_socket_info' to manage information per socket. It contains a >> > reference count array according to COS ID and a

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

2016-12-25 Thread Yi Sun
Hi, I just realize it is Christmas holiday. Merry Christmas! On 16-12-22 09:13:43, Jan Beulich wrote: > >>> On 14.12.16 at 05:07, wrote: > > To construct an extendible framework, we need analyze PSR features > > and abstract the common things and feature specific things. Then, > > encapsulate th

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

2016-12-22 Thread Jan Beulich
>>> On 14.12.16 at 05:07, wrote: > 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. > +

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

2016-12-14 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