Re: [Xen-devel] [PATCH v7 3/3] tools & docs: add tools and docs support for Intel CDP

2015-10-14 Thread Jan Beulich
>>> On 13.10.15 at 10:53, wrote: > This is the xl/xc changes to support Intel Code/Data Prioritization. > CAT xl commands to set/get CBMs are extended to support CDP. > Add new CDP options with CAT commands in xl interface man page. > Add description of CDP in xl-psr.markdown. > > Signed-off-by:

Re: [Xen-devel] [PATCH v7 3/3] tools & docs: add tools and docs support for Intel CDP

2015-10-14 Thread Ian Campbell
On Wed, 2015-10-14 at 11:08 +0200, Dario Faggioli wrote: > On Tue, 2015-10-13 at 16:53 +0800, He Chen wrote: > > diff --git a/docs/misc/xl-psr.markdown b/docs/misc/xl-psr.markdown > > index c32e25c..9b08ee3 100644 > > --- a/docs/misc/xl-psr.markdown > > +++ b/docs/misc/xl-psr.markdown > > @@ -127,6

Re: [Xen-devel] [PATCH v7 3/3] tools & docs: add tools and docs support for Intel CDP

2015-10-14 Thread Dario Faggioli
On Tue, 2015-10-13 at 16:53 +0800, He Chen wrote: > diff --git a/docs/misc/xl-psr.markdown b/docs/misc/xl-psr.markdown > index c32e25c..9b08ee3 100644 > --- a/docs/misc/xl-psr.markdown > +++ b/docs/misc/xl-psr.markdown > @@ -127,6 +127,59 @@ Per domain CBM settings can be shown by: > > `xl psr-c

Re: [Xen-devel] [PATCH v7 3/3] tools & docs: add tools and docs support for Intel CDP

2015-10-14 Thread Ian Campbell
On Wed, 2015-10-14 at 10:38 +0800, Chao Peng wrote: > > diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c > > index 365798b..8db0132 100644 > > --- a/tools/libxl/xl_cmdimpl.c > > +++ b/tools/libxl/xl_cmdimpl.c > > @@ -8434,6 +8434,8 @@ static int psr_cat_hwinfo(void) > > } >

Re: [Xen-devel] [PATCH v7 3/3] tools & docs: add tools and docs support for Intel CDP

2015-10-13 Thread Chao Peng
> diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c > index 365798b..8db0132 100644 > --- a/tools/libxl/xl_cmdimpl.c > +++ b/tools/libxl/xl_cmdimpl.c > @@ -8434,6 +8434,8 @@ static int psr_cat_hwinfo(void) > } > printf("%-16s: %u\n", "Socket ID", info[i].id); >

Re: [Xen-devel] [PATCH v7 3/3] tools & docs: add tools and docs support for Intel CDP

2015-10-13 Thread Ian Campbell
On Tue, 2015-10-13 at 16:53 +0800, He Chen wrote: > @@ -8445,29 +8447,46 @@ out: > return rc; > } > > -static void psr_cat_print_one_domain_cbm(uint32_t domid, uint32_t > socketid) > +static void psr_cat_print_one_domain_cbm_type(uint32_t domid, uint32_t > socketid, > +

[Xen-devel] [PATCH v7 3/3] tools & docs: add tools and docs support for Intel CDP

2015-10-13 Thread He Chen
This is the xl/xc changes to support Intel Code/Data Prioritization. CAT xl commands to set/get CBMs are extended to support CDP. Add new CDP options with CAT commands in xl interface man page. Add description of CDP in xl-psr.markdown. Signed-off-by: He Chen --- Changes in v7: * LIBXL_PSR_CBM_TY