Skip to content

x86: Default vs Max policies

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10x86/sysctl: Don't return cpu policy data for compiled-out support (2)tools/misc/xen-cpuid.c xen/arch/x86/sysctl.c xen/include/public/sysctl.h+28 -84 replies
2/10tools/libxc: Simplify xc_get_static_cpu_featuremask()tools/libxc/include/xenctrl.h tools/libxc/xc_cpuid_x86.c+13 -343 replies
3/10x86/gen-cpuid: Rework internal logic to ease future changesxen/tools/gen-cpuid.py+29 -482 replies
4/10x86/gen-cpuid: Create max and default variations of INIT_*_FEATUREStools/libxc/include/xenctrl.h tools/libxc/xc_cpuid_x86.c tools/misc/xen-cpuid.c +2 more+62 -343 replies
5/10x86/msr: Compile out unused logic/objectsxen/arch/x86/msr.c+23 -113 replies
6/10x86/msr: Introduce and use default MSR policiesxen/arch/x86/msr.c xen/arch/x86/sysctl.c xen/include/asm-x86/msr.h+32 -81 reply
7/10x86/cpuid: Compile out unused logic/objectsxen/arch/x86/cpuid.c+33 -141 reply
8/10x86/cpuid: Introduce and use default CPUID policiesxen/arch/x86/cpuid.c xen/arch/x86/sysctl.c xen/include/asm-x86/cpuid.h+57 -53 replies
9/10x86/gen-cpuid: Distinguish default vs max in feature annotationsxen/include/public/arch-x86/cpufeatureset.h xen/tools/gen-cpuid.py+6 -31 reply
10/10x86/hvm: Do not enable MPX by defaultxen/include/public/arch-x86/cpufeatureset.h+1 -11 reply

Reviews trailers per patch

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

PatchJan Beulich
1/10R-b
2/10R-b
3/10A-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Xen-devel] [PATCH 00/10] x86: Default vs Max policies

This series builds on several years worth of building blocks to finally create a real distinction between default and max policies.

See the final patch for a concrete example.

Everything but the final patch is ready to go in now. The final patch depends on the still-in-review migration series, to provide suitable backwards compatilbity for VMs coming from older versions of Xen.

Andrew Cooper (10):
x86/sysctl: Don't return cpu policy data for compiled-out support (2) tools/libxc: Simplify xc_get_static_cpu_featuremask() x86/gen-cpuid: Rework internal logic to ease future changes x86/gen-cpuid: Create max and default variations of INIT_*_FEATURES x86/msr: Compile out unused logic/objects
x86/msr: Introduce and use default MSR policies
x86/cpuid: Compile out unused logic/objects
x86/cpuid: Introduce and use default CPUID policies x86/gen-cpuid: Distinguish default vs max in feature annotations x86/hvm: Do not enable MPX by default

 tools/libxc/include/xenctrl.h               |  10 ++-
 tools/libxc/xc_cpuid_x86.c                  |  55 +++++--------
 tools/misc/xen-cpuid.c                      |  35 ++++++---
 xen/arch/x86/cpuid.c                        | 118 ++++++++++++++++++++++------
 xen/arch/x86/msr.c                          |  62 +++++++++++----
 xen/arch/x86/sysctl.c                       |  25 ++++--
 xen/include/asm-x86/cpuid.h                 |   3 +-
 xen/include/asm-x86/msr.h                   |   4 +-
 xen/include/public/arch-x86/cpufeatureset.h |   4 +-
 xen/include/public/sysctl.h                 |   2 +
 xen/tools/gen-cpuid.py                      | 100 ++++++++++++-----------
 11 files changed, 268 insertions(+), 150 deletions(-)
Signature · 7 lines
2.11.0


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