mbox series

[0/3] x86/smt: Runtime SMT controls

Message ID 1554235048-3373-1-git-send-email-andrew.cooper3@citrix.com (mailing list archive)
Headers show
Series x86/smt: Runtime SMT controls | expand

Message

Andrew Cooper April 2, 2019, 7:57 p.m. UTC
This is some work which was discussed for L1TF and never got finished.
Testing for this work is what discovered the cpu online/offline memory leak.

Andrew Cooper (3):
  xen/cpu: Distinguish "cpu already in that state" in cpu_{up,down}()
  x86/sysctl: Clean up XEN_SYSCTL_cpu_hotplug
  x86: Support for enabling/disabling SMT at runtime

 tools/libxc/include/xenctrl.h   |   2 +
 tools/libxc/xc_cpu_hotplug.c    |  26 +++++++++
 tools/misc/xen-hptool.c         |  56 ++++++++++++++++++
 xen/arch/x86/setup.c            |   2 +-
 xen/arch/x86/sysctl.c           | 126 ++++++++++++++++++++++++++++++++++++----
 xen/common/cpu.c                |  26 +++++----
 xen/include/asm-x86/processor.h |   1 +
 xen/include/public/sysctl.h     |   9 +++
 8 files changed, 226 insertions(+), 22 deletions(-)