[PATCH v2 0/3] x86: RSBA and RRSBA handling

Andrew Cooper posted 3 patches 10 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20230601144845.1554589-1-andrew.cooper3@citrix.com
There is a newer version of this series
xen/arch/x86/cpu-policy.c                   |  53 ++++++++
xen/arch/x86/include/asm/cpufeature.h       |   1 +
xen/arch/x86/spec_ctrl.c                    | 131 +++++++++++++++++---
xen/include/public/arch-x86/cpufeatureset.h |   4 +-
xen/tools/gen-cpuid.py                      |   5 +-
5 files changed, 172 insertions(+), 22 deletions(-)
[PATCH v2 0/3] x86: RSBA and RRSBA handling
Posted by Andrew Cooper 10 months, 3 weeks ago
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 substantial changes from v1, following a clarification from Intel.
Importantly, CPUs are not expected to enumerate both RSBA and RRSBA, therefore
we should do the same for VMs.

Andrew Cooper (3):
  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                   |  53 ++++++++
 xen/arch/x86/include/asm/cpufeature.h       |   1 +
 xen/arch/x86/spec_ctrl.c                    | 131 +++++++++++++++++---
 xen/include/public/arch-x86/cpufeatureset.h |   4 +-
 xen/tools/gen-cpuid.py                      |   5 +-
 5 files changed, 172 insertions(+), 22 deletions(-)

-- 
2.30.2