All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 00/16] Enable Memory Bandwidth Allocation in Xen
@ 2017-01-10  7:42 Yi Sun
  2017-01-10  7:42 ` [RFC 01/16] docs: create Memory Bandwidth Allocation (MBA) feature document Yi Sun
                   ` (15 more replies)
  0 siblings, 16 replies; 21+ messages in thread
From: Yi Sun @ 2017-01-10  7:42 UTC (permalink / raw)
  To: xen-devel
  Cc: wei.liu2, he.chen, andrew.cooper3, ian.jackson, Yi Sun, jbeulich,
	chao.p.peng

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@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2017-02-27  4:39 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-10  7:42 [RFC 00/16] Enable Memory Bandwidth Allocation in Xen Yi Sun
2017-01-10  7:42 ` [RFC 01/16] docs: create Memory Bandwidth Allocation (MBA) feature document Yi Sun
2017-02-23 20:46   ` Meng Xu
2017-02-24  5:07     ` Yi Sun
2017-02-24 15:53       ` Meng Xu
2017-02-27  4:39         ` Yi Sun
2017-01-10  7:42 ` [RFC 02/16] Rename sysctl/domctl interface and xsm policy to make them general Yi Sun
2017-01-10  7:42 ` [RFC 03/16] x86: change 'cbm_type' to 'psr_val_type' to make it general Yi Sun
2017-01-10  7:42 ` [RFC 04/16] x86: implement data structure of MBA Yi Sun
2017-01-10  7:42 ` [RFC 05/16] x86: parse config parameters for MBA Yi Sun
2017-01-10  7:42 ` [RFC 06/16] x86: implement init flow " Yi Sun
2017-01-10  7:42 ` [RFC 07/16] x86: implement get hw info " Yi Sun
2017-01-10  7:42 ` [RFC 08/16] x86: implement get value " Yi Sun
2017-01-10  7:42 ` [RFC 09/16] x86: implement set " Yi Sun
2017-01-10  7:42 ` [RFC 10/16] tools: refactor codes to make get hw info interface be general Yi Sun
2017-01-10  7:42 ` [RFC 11/16] tools: refactor codes to make get val be more general Yi Sun
2017-01-10  7:42 ` [RFC 12/16] tools: refactor codes to make set " Yi Sun
2017-01-10  7:42 ` [RFC 13/16] tools: implemet get hw info flow for MBA Yi Sun
2017-01-10  7:42 ` [RFC 14/16] tools: implemet get value " Yi Sun
2017-01-10  7:42 ` [RFC 15/16] tools: implemet set " Yi Sun
2017-01-10  7:42 ` [RFC 16/16] docs: add MBA description in docs Yi Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.