x86: expose CBM length and COS number information
authorChao Peng <chao.p.peng@linux.intel.com>
Tue, 7 Jul 2015 13:46:00 +0000 (15:46 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Jul 2015 13:46:00 +0000 (15:46 +0200)
commit46af95231c9fa9db3363675dd15f7a42baf351c5
tree0751ae840f497953280ebd889c63d2ebfd64e8da
parent4bc9843a83c10baa8d908d214185d2ee6d422dab
x86: expose CBM length and COS number information

General CAT information such as maximum COS and CBM length are exposed to
user space by a SYSCTL hypercall, to help user space to construct the CBM.

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