]> xenbits.xensource.com Git - xen.git/commit
tools: add tools support for Intel CAT
authorChao Peng <chao.p.peng@linux.intel.com>
Thu, 9 Jul 2015 08:54:14 +0000 (16:54 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 9 Jul 2015 09:07:38 +0000 (10:07 +0100)
commitf52fbcf747d77ad9d212aeb09f979d0932d3980c
tree021a4ce841d562a3e8fb101c92854c487ccefdcd
parentbbf6a4d5127f10118d329e5b361e77a0eb2a25e2
tools: add tools support for Intel CAT

This is the xc/xl changes to support Intel Cache Allocation
Technology(CAT).

'xl psr-hwinfo' is updated to show CAT info and two new commands
for CAT are introduced:
- xl psr-cat-cbm-set [-s socket] <domain> <cbm>
  Set cache capacity bitmasks(CBM) for a domain.
- xl psr-cat-show <domain>
  Show CAT domain information.

Examples:
[root@vmm-psr vmm]# xl psr-hwinfo --cat
Cache Allocation Technology (CAT):
Socket ID       : 0
L3 Cache        : 12288KB
Maximum COS     : 15
CBM length      : 12
Default CBM     : 0xfff

[root@vmm-psr vmm]# xl psr-cat-cbm-set 0 0xff

[root@vmm-psr vmm]# xl psr-cat-show
Socket ID       : 0
L3 Cache        : 12288KB
Default CBM     : 0xfff
   ID                     NAME             CBM
    0                 Domain-0            0xff

Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Reviewed-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
docs/man/xl.pod.1
tools/libxc/include/xenctrl.h
tools/libxc/xc_psr.c
tools/libxl/libxl.h
tools/libxl/libxl_psr.c
tools/libxl/libxl_types.idl
tools/libxl/xl.h
tools/libxl/xl_cmdimpl.c
tools/libxl/xl_cmdtable.c