All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] x86: MSR_SPEC_CTRL support for SVM guests
@ 2022-01-26  8:44 Andrew Cooper
  2022-01-26  8:44 ` [PATCH 1/8] x86/msr: Fix migration compatibility issue with MSR_SPEC_CTRL Andrew Cooper
                   ` (7 more replies)
  0 siblings, 8 replies; 28+ messages in thread
From: Andrew Cooper @ 2022-01-26  8:44 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper, Jan Beulich, Roger Pau Monné, Wei Liu

Fixes/extensions to allow HVM guests to use AMD hardware MSR_SPEC_CTRL
facilities.

No PV support yet - that will require some substantially more careful
unpicking of the PV entry/exit asm.

Andrew Cooper (8):
  x86/msr: Fix migration compatibility issue with MSR_SPEC_CTRL
  x86/boot: Collect AMD speculative features earlier during boot
  x86/svm: VMEntry/Exit logic for MSR_SPEC_CTRL
  x86/spec-ctrl: Drop use_spec_ctrl boolean
  x86/spec-ctrl: Introduce new has_spec_ctrl boolean
  x86/spec-ctrl: Use common MSR_SPEC_CTRL logic for AMD
  x86/msr: AMD MSR_SPEC_CTRL infrastructure
  x86/cpuid: Enable MSR_SPEC_CTRL in SVM guests by default

 xen/arch/x86/cpu/amd.c                      |  2 +-
 xen/arch/x86/cpu/common.c                   | 15 +++++---
 xen/arch/x86/cpuid.c                        | 16 ++++++---
 xen/arch/x86/hvm/hvm.c                      | 25 +++++++++++--
 xen/arch/x86/hvm/svm/entry.S                | 10 +++---
 xen/arch/x86/hvm/svm/svm.c                  | 39 ++++++++++++++++++++
 xen/arch/x86/include/asm/current.h          |  2 +-
 xen/arch/x86/include/asm/msr.h              | 11 ++++++
 xen/arch/x86/include/asm/spec_ctrl_asm.h    |  7 ++++
 xen/arch/x86/msr.c                          | 37 ++++++++++++-------
 xen/arch/x86/spec_ctrl.c                    | 56 ++++++++++++++++++++---------
 xen/include/public/arch-x86/cpufeatureset.h | 18 +++++-----
 xen/tools/gen-cpuid.py                      |  5 +++
 13 files changed, 187 insertions(+), 56 deletions(-)

-- 
2.11.0



^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2022-01-27 21:56 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26  8:44 [PATCH 0/8] x86: MSR_SPEC_CTRL support for SVM guests Andrew Cooper
2022-01-26  8:44 ` [PATCH 1/8] x86/msr: Fix migration compatibility issue with MSR_SPEC_CTRL Andrew Cooper
2022-01-26 12:17   ` Roger Pau Monné
2022-01-26 12:54     ` Andrew Cooper
2022-01-26 16:33   ` Jan Beulich
2022-01-26  8:44 ` [PATCH 2/8] x86/boot: Collect AMD speculative features earlier during boot Andrew Cooper
2022-01-26 12:44   ` Roger Pau Monné
2022-01-26 12:50     ` Jan Beulich
2022-01-26 13:37     ` Andrew Cooper
2022-01-26 13:47       ` Andrew Cooper
2022-01-26 14:11         ` Andrew Cooper
2022-01-26  8:44 ` [PATCH 3/8] x86/svm: VMEntry/Exit logic for MSR_SPEC_CTRL Andrew Cooper
2022-01-26 16:50   ` Jan Beulich
2022-01-26 20:16     ` Andrew Cooper
2022-01-27  7:25       ` Jan Beulich
2022-01-27 21:55         ` Andrew Cooper
2022-01-26  8:44 ` [PATCH 4/8] x86/spec-ctrl: Drop use_spec_ctrl boolean Andrew Cooper
2022-01-26 16:54   ` Jan Beulich
2022-01-26  8:44 ` [PATCH 5/8] x86/spec-ctrl: Introduce new has_spec_ctrl boolean Andrew Cooper
2022-01-26 16:57   ` Jan Beulich
2022-01-26  8:44 ` [PATCH 6/8] x86/spec-ctrl: Use common MSR_SPEC_CTRL logic for AMD Andrew Cooper
2022-01-26 17:05   ` Jan Beulich
2022-01-26  8:44 ` [PATCH 7/8] x86/msr: AMD MSR_SPEC_CTRL infrastructure Andrew Cooper
2022-01-27 13:06   ` Jan Beulich
2022-01-26  8:44 ` [PATCH 8/8] x86/cpuid: Enable MSR_SPEC_CTRL in SVM guests by default Andrew Cooper
2022-01-26 12:17   ` Andrew Cooper
2022-01-27 13:47   ` Jan Beulich
2022-01-27 17:20     ` Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.