Re: [Xen-devel] [PATCH v2 2/4] x86: add domctl cmd to set/get CDP code/data CBM

2015-09-09 Thread Chao Peng
On Wed, Sep 09, 2015 at 01:16:46PM +0800, He Chen wrote: > CDP extends CAT and provides the capacity to control L3 code & data > cache. With CDP, one COS correspond to two CMBs(code & data). cbm_type > is added to support distinguish different CBM operation. Besides, new > domctl cmds are

Re: [Xen-devel] [PATCH v2 2/4] x86: add domctl cmd to set/get CDP code/data CBM

2015-09-09 Thread Jan Beulich
>>> On 09.09.15 at 09:24, wrote: > On Wed, Sep 09, 2015 at 01:16:46PM +0800, He Chen wrote: >> -int psr_get_l3_cbm(struct domain *d, unsigned int socket, uint64_t *cbm) >> +int psr_get_l3_cbm(struct domain *d, unsigned int socket, >> + uint64_t *cbm,

[Xen-devel] [PATCH v2 2/4] x86: add domctl cmd to set/get CDP code/data CBM

2015-09-08 Thread He Chen
CDP extends CAT and provides the capacity to control L3 code & data cache. With CDP, one COS correspond to two CMBs(code & data). cbm_type is added to support distinguish different CBM operation. Besides, new domctl cmds are introdunced to support set/get CDP CBM. Some CAT functions to operation