[PATCH 0/6] x86: Introduce MSR_ARCH_CAPS into featuresets

Andrew Cooper posted 6 patches 11 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20230515144259.1009245-1-andrew.cooper3@citrix.com
There is a newer version of this series
tools/misc/xen-cpuid.c                      | 23 ++++++
xen/arch/x86/cpu-policy.c                   | 83 ++++++++++-----------
xen/arch/x86/cpu/common.c                   |  5 ++
xen/include/public/arch-x86/cpufeatureset.h | 27 +++++++
xen/include/xen/lib/x86/cpu-policy.h        | 18 ++---
xen/lib/x86/cpuid.c                         | 11 ++-
xen/tools/gen-cpuid.py                      |  3 +
7 files changed, 117 insertions(+), 53 deletions(-)
[PATCH 0/6] x86: Introduce MSR_ARCH_CAPS into featuresets
Posted by Andrew Cooper 11 months, 3 weeks ago
Also cleanup of the various special cases we've already got.  No practical
change to a system, but this is the trimmed view of the featuresets on a
Cascade Lake CPU with the series in place.

                        KEY ... 10Al     10Ah
  Static sets:
  Known                     ... 01beffff:00000000
  Special                   ... 00080004:00000000
  PV Max                    ... 011ae17f:00000000
  PV Default                ... 011ae17f:00000000
  HVM Shadow Max            ... 011ae17f:00000000
  HVM Shadow Default        ... 011ae17f:00000000
  HVM Hap Max               ... 011ae17f:00000000
  HVM Hap Default           ... 011ae17f:00000000

  Dynamic sets:
  Raw                       ... 000aacab:00000000
  Host                      ... 000aacab:00000000
  PV Default                ... 00000000:00000000
  HVM Default               ... 00000000:00000000
  PV Max                    ... 000aa02b:00000000
  HVM Max                   ... 000aa02b:00000000

Andrew Cooper (6):
  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

 tools/misc/xen-cpuid.c                      | 23 ++++++
 xen/arch/x86/cpu-policy.c                   | 83 ++++++++++-----------
 xen/arch/x86/cpu/common.c                   |  5 ++
 xen/include/public/arch-x86/cpufeatureset.h | 27 +++++++
 xen/include/xen/lib/x86/cpu-policy.h        | 18 ++---
 xen/lib/x86/cpuid.c                         | 11 ++-
 xen/tools/gen-cpuid.py                      |  3 +
 7 files changed, 117 insertions(+), 53 deletions(-)

-- 
2.30.2