Skip to content

x86: RSBA and RRSBA handling

Andrew Cooper xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 12 repliesIn review
  2. v23 patches 11 repliesSuperseded
  3. v14 patches 10 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/spec-ctrl: Use a taint for CET without MSR_SPEC_CTRLxen/arch/x86/spec_ctrl.c xen/common/kernel.c+4 -11 reply
2/4x86/spec-ctrl: Rename retpoline_safe() to retpoline_calculations()xen/arch/x86/spec_ctrl.c+26 -150 replies
3/4x86/spec-ctrl: Fix up the RSBA/RRSBA bits as appropriatexen/arch/x86/include/asm/cpufeature.h xen/arch/x86/spec_ctrl.c+96 -53 replies
4/4x86/cpu-policy: Derive RSBA/RRSBA for guest policiesxen/arch/x86/cpu-policy.c xen/include/public/arch-x86/cpufeatureset.h xen/tools/gen-cpuid.py+45 -38 replies

Reviews trailers per patch

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

PatchJan Beulich
1/4R-b
2/4R-b
3/4R-b
4/4A-b

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

Read the v3 thread

Cover letter [PATCH v3 0/4] x86: RSBA and RRSBA handling

This series deals with the hanlding of the RSBA and RRSBA bits across all parts and all mistakes encountered in various microcode versions.

There are only minor changes from v2. See patches for details.

Andrew Cooper (4):
x86/spec-ctrl: Use a taint for CET without MSR_SPEC_CTRL x86/spec-ctrl: Rename retpoline_safe() to retpoline_calculations() x86/spec-ctrl: Fix up the RSBA/RRSBA bits as appropriate x86/cpu-policy: Derive RSBA/RRSBA for guest policies

 xen/arch/x86/cpu-policy.c                   |  39 ++++++
 xen/arch/x86/include/asm/cpufeature.h       |   1 +
 xen/arch/x86/spec_ctrl.c                    | 142 +++++++++++++++++---
 xen/common/kernel.c                         |   2 +-
 xen/include/public/arch-x86/cpufeatureset.h |   4 +-
 xen/tools/gen-cpuid.py                      |   5 +-
 6 files changed, 170 insertions(+), 23 deletions(-)
Signature · 1 line
2.30.2