[PATCH 0/2] x86: Misc enumeration improvements

Andrew Cooper posted 2 patches 1 year, 1 month ago
Test gitlab-ci failed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20230310160238.1321765-1-andrew.cooper3@citrix.com
tools/libs/light/libxl_cpuid.c              | 4 ++++
tools/misc/xen-cpuid.c                      | 6 +++---
xen/arch/x86/include/asm/msr-index.h        | 1 +
xen/include/public/arch-x86/cpufeatureset.h | 1 +
4 files changed, 9 insertions(+), 3 deletions(-)
[PATCH 0/2] x86: Misc enumeration improvements
Posted by Andrew Cooper 1 year, 1 month ago
Patch 1 noticed because xen-cpuid currently says:

  [13] 0x00000007:2.edx   intel-psfd <1> <2> <4> mcdt-no

when dumping the static known-feature bitmap.  In some copious free time, we
should have a unit test that catches this.

Patch 2 when double checking that the enumeration hole was in fact correct.

We should offer DDP-CTRL to guests, but I'm not sure when it is appearing in
hardware, and it's not massively urgent - the DDP behaviour is mostly sane
(having been designed in a post-spectre world) and this is a just-in-case
control.

Andrew Cooper (2):
  x86/spec-ctrl: Add BHI controls to userspace components
  x86/spec-ctrl: Enumerations for DDP controls

 tools/libs/light/libxl_cpuid.c              | 4 ++++
 tools/misc/xen-cpuid.c                      | 6 +++---
 xen/arch/x86/include/asm/msr-index.h        | 1 +
 xen/include/public/arch-x86/cpufeatureset.h | 1 +
 4 files changed, 9 insertions(+), 3 deletions(-)

-- 
2.30.2