[PATCH 0/5] Add support for IBRS & IBPB KVM support.

From: Ashok Raj
Date: Thu Jan 11 2018 - 20:32:27 EST


The following patches are based on v3 from Tim Chen

https://www.mail-archive.com/linux-kernel@xxxxxxxxxxxxxxx/msg1582043.html

This patch set supports exposing MSR_IA32_SPEC_CTRL and MSR_IA32_PRED_CMD
for user space.

Thomas is steam blowing v3 :-).. but I didn't want to keep holding this
much longer for the rebase to be complete in tip/x86/pti.

Ashok Raj (4):
x86/ibrs: Introduce native_rdmsrl, and native_wrmsrl
x86/ibrs: Add new helper macros to save/restore MSR_IA32_SPEC_CTRL
x86/ibrs: Add direct access support for MSR_IA32_SPEC_CTRL
x86/feature: Detect the x86 feature Indirect Branch Prediction Barrier

Paolo Bonzini (1):
x86/svm: Direct access to MSR_IA32_SPEC_CTRL

arch/x86/include/asm/cpufeatures.h | 1 +
arch/x86/include/asm/msr-index.h | 3 +++
arch/x86/include/asm/spec_ctrl.h | 29 +++++++++++++++++++++-
arch/x86/kernel/cpu/spec_ctrl.c | 19 ++++++++++++++
arch/x86/kvm/cpuid.c | 3 ++-
arch/x86/kvm/svm.c | 51 ++++++++++++++++++++++++++++++++++++++
arch/x86/kvm/vmx.c | 51 ++++++++++++++++++++++++++++++++++++++
arch/x86/kvm/x86.c | 1 +
8 files changed, 156 insertions(+), 2 deletions(-)

--
2.7.4