]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/kvm: Add static key for flush always
authorThomas Gleixner <tglx@linutronix.de>
Fri, 13 Jul 2018 14:23:20 +0000 (16:23 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 8 Aug 2018 12:08:07 +0000 (14:08 +0200)
commitae0219651e9c1a74f30420de4d255d374219b78c
tree2181f9f476b20dd9cf145c461f4582a5ab03ec8d
parent2bcd5b011ff54c7e22d11f1484c41dbd36a02f69
x86/kvm: Add static key for flush always

Avoid the conditional in the L1D flush control path.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Jiri Kosina <jkosina@suse.cz>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/20180713142322.790914912@linutronix.de
CVE-2018-3620
CVE-2018-3646

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/x86/kvm/vmx.c