]> xenbits.xensource.com Git - people/julieng/xen-unstable.git/commit
x86: add domctl cmd to set/get CDP code/data CBM
authorHe Chen <he.chen@linux.intel.com>
Wed, 14 Oct 2015 10:45:34 +0000 (12:45 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 14 Oct 2015 10:45:34 +0000 (12:45 +0200)
commit44f126d3d3b03ec983590313af1d725937d4667c
treec9b65ec5ce963dfcb548316387a183a8a37943ec
parent56b9a5130f08cca7c3a5853c87d62a2dd9b7ebc1
x86: add domctl cmd to set/get CDP code/data CBM

CDP extends CAT and provides the capacity to control L3 code & data
cache. With CDP, one COS corresponds to two CMBs(code & data). cbm_type
is added to distinguish different CBM operations. Besides, new domctl
cmds are introdunced to support set/get CDP CBM. Some CAT functions to
operation CBMs are extended to support CDP.

Signed-off-by: He Chen <he.chen@linux.intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Chao Peng <chao.p.peng@linux.intel.com>
xen/arch/x86/domctl.c
xen/arch/x86/psr.c
xen/include/asm-x86/psr.h
xen/include/public/domctl.h