[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v10 00/11] 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 first 5 patches of V9 haven been merged. To fix a few issues, the
V10 is submitted.

Any comments are welcome!

You can find this series at:
https://github.com/yisun-git/xen_mba mba_v10

BRs,
Sun Yi

CC: Jan Beulich <jbeulich@xxxxxxxx>
CC: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CC: Wei Liu <wei.liu2@xxxxxxxxxx>
CC: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
CC: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
CC: Roger Pau Monné <roger.pau@xxxxxxxxxx>
CC: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
CC: Chao Peng <chao.p.peng@xxxxxxxxxxxxxxx>
CC: Julien Grall <julien.grall@xxxxxxx>

---
Acked and Reviewed list before V10:

a - Acked-by
r - Reviewed-by

  ar patch 2  - x86: implement get value interface for MBA
  r  patch 3  - x86: implement set value flow for MBA
  ar patch 4  - tools: create general interfaces to support psr allocation 
features
  ar patch 5  - tools: implement the new libxc get hw info interface
  ar patch 6  - tools: implement the new libxl get hw info interface
  ar patch 7  - tools: implement the new xl get hw info interface
  ar patch 8  - tools: rename 'xc_psr_cat_type' to 'xc_psr_type'
  ar patch 9  - tools: implement new generic get value interface and MBA get 
value command
  ar patch 11 - docs: add MBA description in docs

---
V10 change list:

Patch 1:
    - declare data array in top case to avoid gcc 7.2 warning.
      (suggested by Jan Beulich)
Patch 10:
    - move argc check to original place to make per socket setting work.

Yi Sun (11):
  x86: implement get hw info flow for MBA
  x86: implement get value interface for MBA
  x86: implement set value flow for MBA
  tools: create general interfaces to support psr allocation features
  tools: implement the new libxc get hw info interface
  tools: implement the new libxl get hw info interface
  tools: implement the new xl get hw info interface
  tools: rename 'xc_psr_cat_type' to 'xc_psr_type'
  tools: implement new generic get value interface and MBA get value
    command
  tools: implement new generic set value interface and MBA set value
    command
  docs: add MBA description in docs

 Config.mk                     |  20 +--
 docs/man/xl.pod.1.in          |  33 +++++
 docs/misc/xl-psr.markdown     |  62 ++++++++++
 tools/libxc/include/xenctrl.h |  44 +++++--
 tools/libxc/xc_psr.c          |  73 +++++++----
 tools/libxl/libxl.h           |  37 ++++++
 tools/libxl/libxl_psr.c       | 223 +++++++++++++++++++++++++--------
 tools/libxl/libxl_types.idl   |  22 ++++
 tools/xl/xl.h                 |   2 +
 tools/xl/xl_cmdtable.c        |  12 ++
 tools/xl/xl_psr.c             | 279 +++++++++++++++++++++++++++++++++---------
 xen/arch/x86/domctl.c         |  10 ++
 xen/arch/x86/psr.c            |  60 ++++++++-
 xen/arch/x86/sysctl.c         |  27 +++-
 xen/include/asm-x86/psr.h     |   2 +
 xen/include/public/domctl.h   |   2 +
 xen/include/public/sysctl.h   |   8 ++
 17 files changed, 752 insertions(+), 164 deletions(-)

-- 
1.9.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.