Skip to content

x86: Fixes to TSX handling

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/cpuid: Rework HLE and RTM handlingtools/libs/guest/xg_cpuid_x86.c xen/arch/x86/cpuid.c xen/arch/x86/spec_ctrl.c +3 more+44 -212 replies
2/3x86/tsx: Minor cleanup and improvementsxen/arch/x86/cpuid.c xen/arch/x86/hvm/vmx/vmx.c xen/arch/x86/msr.c +3 more+17 -132 replies
3/3x86/tsx: Deprecate vpmu=rtm-abort and use tsx=<bool> insteaddocs/misc/xen-command-line.pandoc xen/arch/x86/cpu/intel.c xen/arch/x86/cpu/vpmu.c +2 more+70 -293 replies

Reviews trailers per patch

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

PatchJan BeulichRoger Pau Monné
1/3R-b R-b
2/3A-b R-b
3/3A-b R-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/3] x86: Fixes to TSX handling

Fix the handling of the HLE/RTM CPUID bits for guests.

Andrew Cooper (3):
x86/cpuid: Rework HLE and RTM handling
x86/tsx: Minor cleanup and improvements
x86/tsx: Deprecate vpmu=rtm-abort and use tsx=<bool> instead

 docs/misc/xen-command-line.pandoc           |  40 +++++------
 tools/libs/guest/xg_cpuid_x86.c             |   2 +
 xen/arch/x86/cpu/intel.c                    |   3 -
 xen/arch/x86/cpu/vpmu.c                     |   4 +-
 xen/arch/x86/cpuid.c                        |  26 +++----
 xen/arch/x86/hvm/vmx/vmx.c                  |   2 +-
 xen/arch/x86/msr.c                          |   2 +-
 xen/arch/x86/spec_ctrl.c                    |   5 +-
 xen/arch/x86/tsx.c                          | 103 ++++++++++++++++++++++++----
 xen/include/asm-x86/cpufeature.h            |   1 +
 xen/include/asm-x86/processor.h             |   1 +
 xen/include/asm-x86/vpmu.h                  |   1 -
 xen/include/public/arch-x86/cpufeatureset.h |   4 +-
 13 files changed, 131 insertions(+), 63 deletions(-)
Signature · 1 line
2.11.0