Skip to content

amd/virt_ssbd: refactoring and fixes

Roger Pau Monne xen-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 8 repliesIn review
  2. v32 patches 6 repliesSuperseded
  3. v23 patches 12 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches14 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2amd/virt_ssbd: set SSBD at vCPU context switchdocs/misc/xen-command-line.pandoc xen/arch/x86/cpu/amd.c xen/arch/x86/hvm/svm/entry.S +3 more+63 -650 replies
2/2amd: remove VIRT_SC_MSR_HVM synthetic featurexen/arch/x86/cpu/amd.c xen/arch/x86/cpuid.c xen/arch/x86/include/asm/amd.h +2 more+12 -96 replies

Reviews trailers per patch

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

PatchJan BeulichHenry Wang
1/2R-b
2/2R-b Release-acked-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH for-4.17 v4 0/2] amd/virt_ssbd: refactoring and fixes

Hello,

Just two patches remaining, and the last one is already Acked.

First patch deals with moving the switching of SSBD from guest vm{entry,exit} to vCPU context switch, and lets Xen run with the guest SSBD selection under some circumstances by default.

Andrew has expressed reservations to me privately with patch 2/2, but I'm still sending it so that comments can be made publicly (or the patch applied).

Thanks, Roger.

Roger Pau Monne (2):
amd/virt_ssbd: set SSBD at vCPU context switch
amd: remove VIRT_SC_MSR_HVM synthetic feature

 docs/misc/xen-command-line.pandoc      | 10 +++--
 xen/arch/x86/cpu/amd.c                 | 56 ++++++++++++++------------
 xen/arch/x86/cpuid.c                   |  9 +++--
 xen/arch/x86/hvm/svm/entry.S           |  6 ---
 xen/arch/x86/hvm/svm/svm.c             | 45 ++++++++-------------
 xen/arch/x86/include/asm/amd.h         |  1 +
 xen/arch/x86/include/asm/cpufeatures.h |  2 +-
 xen/arch/x86/include/asm/msr.h         |  3 +-
 xen/arch/x86/msr.c                     |  9 +++++
 xen/arch/x86/spec_ctrl.c               |  8 ++--
 10 files changed, 75 insertions(+), 74 deletions(-)
Signature · 1 line
2.37.3