Re: [Xen-devel] [PATCH v3 8/8] tools: add tools support for Intel CAT

2015-04-07 Thread Chao Peng
On Thu, Apr 02, 2015 at 11:15:53AM +0800, Chao Peng wrote: > On Wed, Apr 01, 2015 at 10:23:01AM +0100, Ian Campbell wrote: > > On Wed, 2015-04-01 at 17:06 +0800, Chao Peng wrote: > > > > > If this one returns all sockets but not a specified socket data > > > > > (which I agreed) > > > > > and not

Re: [Xen-devel] [PATCH v3 8/8] tools: add tools support for Intel CAT

2015-04-01 Thread Chao Peng
On Wed, Apr 01, 2015 at 10:23:01AM +0100, Ian Campbell wrote: > On Wed, 2015-04-01 at 17:06 +0800, Chao Peng wrote: > > > > If this one returns all sockets but not a specified socket data (which > > > > I agreed) > > > > and not consider legacy cmt code, then I think I can make > > > > libxl_count

Re: [Xen-devel] [PATCH v3 8/8] tools: add tools support for Intel CAT

2015-04-01 Thread Ian Campbell
On Wed, 2015-04-01 at 17:06 +0800, Chao Peng wrote: > > > If this one returns all sockets but not a specified socket data (which I > > > agreed) > > > and not consider legacy cmt code, then I think I can make > > > libxl_count_physical_sockets() private and move it to libxl/libxl_psr.c. > > > > W

Re: [Xen-devel] [PATCH v3 8/8] tools: add tools support for Intel CAT

2015-04-01 Thread Chao Peng
On Wed, Apr 01, 2015 at 09:41:06AM +0100, Ian Campbell wrote: > On Wed, 2015-04-01 at 15:55 +0800, Chao Peng wrote: > > On Tue, Mar 31, 2015 at 05:28:54PM +0100, Ian Campbell wrote: > > > On Thu, 2015-03-26 at 20:38 +0800, Chao Peng wrote: > > > > This is the xc/xl changes to support Intel Cache Al

Re: [Xen-devel] [PATCH v3 8/8] tools: add tools support for Intel CAT

2015-04-01 Thread Ian Campbell
On Wed, 2015-04-01 at 15:55 +0800, Chao Peng wrote: > On Tue, Mar 31, 2015 at 05:28:54PM +0100, Ian Campbell wrote: > > On Thu, 2015-03-26 at 20:38 +0800, Chao Peng wrote: > > > This is the xc/xl changes to support Intel Cache Allocation > > > Technology(CAT). Two commands are introduced: > > > - x

Re: [Xen-devel] [PATCH v3 8/8] tools: add tools support for Intel CAT

2015-04-01 Thread Chao Peng
On Tue, Mar 31, 2015 at 05:28:54PM +0100, Ian Campbell wrote: > On Thu, 2015-03-26 at 20:38 +0800, Chao Peng wrote: > > This is the xc/xl changes to support Intel Cache Allocation > > Technology(CAT). Two commands are introduced: > > - xl psr-cat-cbm-set [-s socket] > > Set cache capacity bitma

Re: [Xen-devel] [PATCH v3 8/8] tools: add tools support for Intel CAT

2015-03-31 Thread Ian Campbell
On Thu, 2015-03-26 at 20:38 +0800, Chao Peng wrote: > This is the xc/xl changes to support Intel Cache Allocation > Technology(CAT). Two commands are introduced: > - xl psr-cat-cbm-set [-s socket] > Set cache capacity bitmasks(CBM) for a domain. > - xl psr-cat-show > Show Cache Allocation Te

[Xen-devel] [PATCH v3 8/8] tools: add tools support for Intel CAT

2015-03-26 Thread Chao Peng
This is the xc/xl changes to support Intel Cache Allocation Technology(CAT). Two commands are introduced: - xl psr-cat-cbm-set [-s socket] Set cache capacity bitmasks(CBM) for a domain. - xl psr-cat-show Show Cache Allocation Technology information. Signed-off-by: Chao Peng --- Changes in