linux/arch/x86
Jim Mattson b8b0c87164 kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb
commit fd65d3142f upstream.

Previously, we only called indirect_branch_prediction_barrier on the
logical CPU that freed a vmcb. This function should be called on all
logical CPUs that last loaded the vmcb in question.

Fixes: 15d4507152 ("KVM/x86: Add IBPB support")
Reported-by: Neel Natu <neelnatu@google.com>
Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-05 19:32:05 +01:00
..
boot x86: boot: Fix EFI stub alignment 2018-11-13 11:08:26 -08:00
configs
crypto crypto: aesni - don't use GFP_ATOMIC allocation if the request doesn't cross a page in gcm 2018-11-13 11:08:45 -08:00
entry x86/entry/64: Further improve paranoid_entry comments 2018-10-17 12:30:27 +02:00
events perf/x86/intel/uncore: Add more IMC PCI IDs for KabyLake and CoffeeLake CPUs 2018-12-01 09:37:32 +01:00
hyperv x86/hyper-v: rename ipi_arg_{ex,non_ex} structures 2018-09-20 00:51:42 +02:00
ia32
include x86/speculation: Add seccomp Spectre v2 user space protection mode 2018-12-05 19:32:04 +01:00
kernel x86/speculation: Provide IBPB always command line options 2018-12-05 19:32:04 +01:00
kvm kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb 2018-12-05 19:32:05 +01:00
lib x86/nmi: Fix NMI uaccess race against CR3 switching 2018-08-31 17:08:22 +02:00
math-emu
mm x86/speculation: Prepare for conditional IBPB in switch_mm() 2018-12-05 19:32:03 +01:00
net bpf, x32: Fix regression caused by commit 24dea04767 2018-07-26 02:51:12 +02:00
oprofile
pci PCI: Make early dump functionality generic 2018-06-29 20:06:07 -05:00
platform x86/olpc: Indicate that legacy PC XO-1 platform should not register RTC 2018-11-13 11:08:23 -08:00
power Power management updates for 4.19-rc1 2018-08-14 13:12:24 -07:00
purgatory kbuild: move bin2c back to scripts/ from scripts/basic/ 2018-07-18 01:18:05 +09:00
ras
realmode
tools x86/relocs: Add __end_rodata_aligned to S_REL 2018-08-09 20:42:07 +02:00
um um: Drop own definition of PTRACE_SYSEMU/_SINGLESTEP 2018-11-21 09:19:16 +01:00
video
xen x86/mm: Move LDT remap out of KASLR region on 5-level paging 2018-11-27 16:13:08 +01:00
.gitignore
Kbuild
Kconfig x86/Kconfig: Select SCHED_SMT if SMP enabled 2018-12-05 19:32:02 +01:00
Kconfig.cpu
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile x86/retpoline: Make CONFIG_RETPOLINE depend on compiler support 2018-12-05 19:32:01 +01:00
Makefile_32.cpu
Makefile.um kbuild: rename LDFLAGS to KBUILD_LDFLAGS 2018-08-24 08:22:08 +09:00