[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] x86: Fixes to TSX handling


  • To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Thu, 27 May 2021 14:25:16 +0100
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Thu, 27 May 2021 13:25:30 +0000
  • Ironport-hdrordr: A9a23:wEDGxqgATlI/e5L5FSTElFI5C3BQXiAji2hC6mlwRA09TyX5ra 2TdTogtSMc6QxhPE3I/OrrBEDuexzhHPJOj7X5Xo3SOTUO2lHYT72KhLGKq1Hd8kXFndK1vp 0QEZSWZueQMbB75/yKnTVREbwbsaW6GHbDv5ag859vJzsaFZ2J921Ce2Gm+tUdfng8OXI+fq DsgPZvln6bVlk8SN+0PXUBV/irnaywqHq3CSR2fiLO8WO1/EuV1II=
  • Ironport-sdr: 7qKzuQr2rJ/5+9//z8wBMURnR/9DrLUIQfYb5OgKQMtKuIIb3b5X9EKeTNgRVBqx20uGv1YTUb q4/JXjLLfcKxaTSzfnYCV4+Gr09KpMyBTGFOGIb6PtT4beFWx2aH7CWW3ZPt1yqRM3UfNKzaYs zyguDWDPVonWM0GiveNWFN6DCwUcAIhoDi2wgw/ORjLjRTGZsI+JFVtoSaQjc5Eq/xVAKRqnRW GKBRDIQTXVR1EBLCR4nIYK3TRHcjpZN3FZUAewvcLvuvW3SgWQkXt29TORcGMpqAREroKBV6Fd WW4=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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(-)

-- 
2.11.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.