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