Skip to content

x86: Introduce MSR_ARCH_CAPS into featuresets

Andrew Cooper xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 6 repliesIn review
  2. v16 patches 24 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10x86/boot: Rework dom0 feature configurationxen/arch/x86/cpu-policy.c+31 -260 replies
2/10x86/boot: Adjust MSR_ARCH_CAPS handling for the Host policyxen/arch/x86/cpu-policy.c+1 -10 replies
3/10x86/cpu-policy: Infrastructure for MSR_ARCH_CAPStools/misc/xen-cpuid.c tools/tests/cpu-policy/test-cpu-policy.c xen/include/public/arch-x86/cpufeatureset.h +2 more+59 -482 replies
4/10x86/cpu-policy: MSR_ARCH_CAPS feature namestools/misc/xen-cpuid.c xen/include/public/arch-x86/cpufeatureset.h xen/tools/gen-cpuid.py+39 -01 reply
5/10x86/boot: Record MSR_ARCH_CAPS for the Raw and Host CPU policyxen/arch/x86/cpu-policy.c xen/arch/x86/cpu/common.c xen/lib/x86/cpuid.c+11 -131 reply
6/10x86/boot: Expose MSR_ARCH_CAPS data in guest max policiesxen/arch/x86/cpu-policy.c xen/include/public/arch-x86/cpufeatureset.h+25 -191 reply
7/10x86/cpufeature: Rework {boot_,}cpu_has()xen/arch/x86/include/asm/cpufeature.h+9 -30 replies
8/10x86/vtx: Remove opencoded MSR_ARCH_CAPS checkxen/arch/x86/hvm/vmx/vmx.c xen/arch/x86/include/asm/cpufeature.h+5 -60 replies
9/10x86/tsx: Remove opencoded MSR_ARCH_CAPS checkxen/arch/x86/include/asm/cpufeature.h xen/arch/x86/include/asm/processor.h xen/arch/x86/tsx.c+10 -60 replies
10/10x86/spec-ctrl: Remove opencoded MSR_ARCH_CAPS checkxen/arch/x86/include/asm/cpufeature.h xen/arch/x86/spec_ctrl.c+33 -301 reply

Reviews trailers per patch

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

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

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

Read the v2 thread

Cover letter [PATCH v2 00/10] x86: Introduce MSR_ARCH_CAPS into featuresets

Also combined with "x86: Feature check cleanup" for simplicity.

See individual patches for v2 deltas.

Andrew Cooper (10):
x86/boot: Rework dom0 feature configuration x86/boot: Adjust MSR_ARCH_CAPS handling for the Host policy x86/cpu-policy: Infrastructure for MSR_ARCH_CAPS x86/cpu-policy: MSR_ARCH_CAPS feature names x86/boot: Record MSR_ARCH_CAPS for the Raw and Host CPU policy x86/boot: Expose MSR_ARCH_CAPS data in guest max policies x86/cpufeature: Rework {boot_,}cpu_has()
x86/vtx: Remove opencoded MSR_ARCH_CAPS check x86/tsx: Remove opencoded MSR_ARCH_CAPS check x86/spec-ctrl: Remove opencoded MSR_ARCH_CAPS check

 tools/misc/xen-cpuid.c                      | 57 +++++++++-----
 tools/tests/cpu-policy/test-cpu-policy.c    |  5 --
 xen/arch/x86/cpu-policy.c                   | 83 ++++++++++-----------
 xen/arch/x86/cpu/common.c                   |  5 ++
 xen/arch/x86/hvm/vmx/vmx.c                  |  8 +-
 xen/arch/x86/include/asm/cpufeature.h       | 23 +++++-
 xen/arch/x86/include/asm/processor.h        |  2 +-
 xen/arch/x86/spec_ctrl.c                    | 56 +++++++-------
 xen/arch/x86/tsx.c                          | 13 ++--
 xen/include/public/arch-x86/cpufeatureset.h | 29 ++++++-
 xen/include/xen/lib/x86/cpu-policy.h        | 50 ++++++-------
 xen/lib/x86/cpuid.c                         | 11 ++-
 xen/tools/gen-cpuid.py                      |  3 +
 13 files changed, 208 insertions(+), 137 deletions(-)
Signature · 1 line
2.30.2