Skip to content

x86/tsx: Consistency and settings test

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86/platform: Improve MSR permission handling for XENPF_resource_opxen/arch/x86/platform_hypercall.c xen/arch/x86/psr.c xen/include/asm-x86/cpufeature.h+32 -121 reply
2/5x86/platform: Permit reading the TSX control MSRs via XENPF_resource_opxen/arch/x86/platform_hypercall.c+6 -01 reply
3/5x86/msr: Expose MSR_ARCH_CAPS in the raw and host policiesxen/arch/x86/msr.c+14 -03 replies
4/5libs/guest: Move struct xc_cpu_policy into xg_private.htools/libs/guest/xg_cpuid_x86.c tools/libs/guest/xg_private.h+10 -103 replies
5/5tests: Introduce a TSX testtools/tests/Makefile tools/tests/tsx/.gitignore tools/tests/tsx/Makefile +1 more+519 -03 replies
5/5tests: Introduce a TSX testtools/tests/Makefile tools/tests/tsx/.gitignore tools/tests/tsx/Makefile +1 more+560 -05 replies

Reviews trailers per patch

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

PatchJan Beulich
1/5R-b
2/5R-b
3/5R-b
4/5A-b
5/5A-b
5/5A-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 [PATCH 0/5] x86/tsx: Consistency and settings test

See patch 5 for details.

Andrew Cooper (5):
x86/platform: Improve MSR permission handling for XENPF_resource_op x86/platform: Permit reading the TSX control MSRs via XENPF_resource_op x86/msr: Expose MSR_ARCH_CAPS in the raw and host policies libs/guest: Move struct xc_cpu_policy into xg_private.h
tests: Introduce a TSX test

 tools/libs/guest/xg_cpuid_x86.c   |  11 +-
 tools/libs/guest/xg_private.h     |   9 +
 tools/tests/Makefile              |   1 +
 tools/tests/tsx/.gitignore        |   1 +
 tools/tests/tsx/Makefile          |  43 ++++
 tools/tests/tsx/test-tsx.c        | 474 ++++++++++++++++++++++++++++++++++++++
 xen/arch/x86/msr.c                |  14 ++
 xen/arch/x86/platform_hypercall.c |  47 +++-
 xen/arch/x86/psr.c                |   2 +-
 xen/include/asm-x86/cpufeature.h  |   1 +
 10 files changed, 581 insertions(+), 22 deletions(-)
 create mode 100644 tools/tests/tsx/.gitignore
 create mode 100644 tools/tests/tsx/Makefile
 create mode 100644 tools/tests/tsx/test-tsx.c
Signature · 1 line
2.11.0