[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v1 06/13] x86: implement get value interface for MBA



On Wed, 2017-08-16 at 14:43 +0800, Yi Sun wrote:
> On 17-08-16 14:38:28, Chao Peng wrote:
> > 
> > On Wed, 2017-08-09 at 15:41 +0800, Yi Sun wrote:
> > > 
> > > This patch implements get value domctl interface for MBA.
> > > 
> > > Signed-off-by: Yi Sun <yi.y.sun@xxxxxxxxxxxxxxx>
> > > ---
> > 
> > ...
> > 
> > > 
> > > --- a/xen/include/public/domctl.h
> > > +++ b/xen/include/public/domctl.h
> > > @@ -1144,6 +1144,7 @@ struct xen_domctl_psr_alloc_op {
> > >  #define XEN_DOMCTL_PSR_CAT_OP_GET_L3_DATA    5
> > >  #define XEN_DOMCTL_PSR_CAT_OP_SET_L2_CBM     6
> > >  #define XEN_DOMCTL_PSR_CAT_OP_GET_L2_CBM     7
> > > +#define XEN_DOMCTL_PSR_MBA_OP_GET_THRTL      9
> > 
> > Why use 9 instead of 8?
> > 
> 8 is reserved for SET_THRTL. Follow the convention of CAT/CDP above.
> :)

Understand. Then probably SET_THRTL patch should come first.

Chao

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.