Skip to content

Enable Memory Bandwidth Allocation in Xen

Yi Sun xen-devel 11 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest11 patches 11 repliesIn review
  2. v916 patches 9 repliesSuperseded
  3. v816 patches 7 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v716 patches4 repliesSuperseded
v616 patches9 repliesSuperseded
v516 patches18 repliesSuperseded
v415 patches48 repliesSuperseded
v315 patches46 repliesSuperseded
v2 posting 2/215 patches48 repliesSuperseded
v2 RFC posting 1/212 patches14 repliesSuperseded
v1 RFC16 patches4 repliesSuperseded

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11x86: implement get hw info flow for MBAConfig.mk xen/arch/x86/psr.c xen/arch/x86/sysctl.c +2 more+54 -173 replies
2/11x86: implement get value interface for MBAxen/arch/x86/domctl.c xen/include/public/domctl.h+5 -00 replies
3/11x86: implement set value flow for MBAxen/arch/x86/domctl.c xen/arch/x86/psr.c xen/include/public/domctl.h+49 -40 replies
4/11tools: create general interfaces to support psr allocation featurestools/libxl/libxl.h tools/libxl/libxl_psr.c tools/libxl/libxl_types.idl+84 -00 replies
5/11tools: implement the new libxc get hw info interfacetools/libxc/include/xenctrl.h tools/libxc/xc_psr.c tools/libxl/libxl_psr.c+95 -250 replies
6/11tools: implement the new libxl get hw info interfacetools/libxl/libxl_psr.c+93 -380 replies
7/11tools: implement the new xl get hw info interfacetools/xl/xl_cmdtable.c tools/xl/xl_psr.c+37 -30 replies
8/11tools: rename 'xc_psr_cat_type' to 'xc_psr_type'tools/libxc/include/xenctrl.h tools/libxc/xc_psr.c tools/libxl/libxl_psr.c+11 -120 replies
9/11tools: implement new generic get value interface and MBA get value commandtools/libxc/include/xenctrl.h tools/libxc/xc_psr.c tools/libxl/libxl_psr.c +3 more+183 -820 replies
10/11tools: implement new generic set value interface and MBA set value commandtools/libxc/include/xenctrl.h tools/libxc/xc_psr.c tools/libxl/libxl_psr.c +3 more+96 -331 reply
11/11docs: add MBA description in docsdocs/man/xl.pod.1.in docs/misc/xl-psr.markdown+95 -00 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchRoger Pau MonnéJan BeulichWei LiuChao Peng
1/11R-b
2/11R-b A-b
3/11R-b
4/11R-b A-b
5/11R-b A-b
6/11R-b A-b
7/11R-b A-b
8/11R-b A-b R-b
9/11R-b A-b
10/11A-b
11/11R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v10 thread

Cover letter [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 <[email protected]>
CC Andrew Cooper <[email protected]>
CC Wei Liu <[email protected]>
CC Ian Jackson <[email protected]>
CC Daniel De Graaf <[email protected]>
CC Roger Pau Monné <[email protected]>
CC Konrad Rzeszutek Wilk <[email protected]>
CC Chao Peng <[email protected]>
CC Julien Grall <[email protected]>

---
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(-)
Signature · 7 lines
1.9.1


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel