[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC 00/16] Enable Memory Bandwidth Allocation in Xen
Hi, all, We plan to bring a new PSR (Platform Shared Resource) feature called Intel Memory Bandwidth Allocation (MBA) to Xen. Besides the MBA enabling, we change some interfaces to make them more general but not only for CAT. The implementation bases on below patch set which is being reviewed. [PATCH v4 00/24] Enable L2 Cache Allocation Technology & Refactor psr.c https://lists.xen.org/archives/html/xen-devel/2016-12/msg01771.html Any comments are welcome! Yi Sun (16): docs: create Memory Bandwidth Allocation (MBA) feature document. Rename sysctl/domctl interface and xsm policy to make them general. x86: change 'cbm_type' to 'psr_val_type' to make it general. x86: implement data structure of MBA. x86: parse config parameters for MBA. x86: implement init flow for MBA. x86: implement get hw info flow for MBA. x86: implement get value flow for MBA. x86: implement set value flow for MBA. tools: refactor codes to make get hw info interface be general. tools: refactor codes to make get val be more general. tools: refactor codes to make set val be more general. tools: implemet get hw info flow for MBA. tools: implemet get value flow for MBA. tools: implemet set value flow for MBA. docs: add MBA description in docs. docs/features/intel_psr_mba.pandoc | 226 +++++++++++++++++++++++ docs/man/xl.pod.1.in | 35 ++++ docs/misc/xl-psr.markdown | 60 ++++++ tools/flask/policy/modules/dom0.te | 4 +- tools/flask/policy/modules/xen.if | 2 +- tools/libxc/include/xenctrl.h | 47 +++-- tools/libxc/xc_psr.c | 88 ++++++--- tools/libxl/libxl.h | 18 +- tools/libxl/libxl_psr.c | 223 +++++++++++++++++++--- tools/libxl/libxl_types.idl | 22 +++ tools/libxl/xl.h | 4 + tools/libxl/xl_cmdimpl.c | 247 ++++++++++++++++++++++--- tools/libxl/xl_cmdtable.c | 17 ++ xen/arch/x86/domctl.c | 65 ++++--- xen/arch/x86/psr.c | 359 +++++++++++++++++++++++++++++++----- xen/arch/x86/sysctl.c | 52 ++++-- xen/include/asm-x86/msr-index.h | 1 + xen/include/asm-x86/psr.h | 20 +- xen/include/public/domctl.h | 14 +- xen/include/public/sysctl.h | 20 +- xen/xsm/flask/hooks.c | 8 +- xen/xsm/flask/policy/access_vectors | 8 +- 22 files changed, 1326 insertions(+), 214 deletions(-) create mode 100644 docs/features/intel_psr_mba.pandoc -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |