]> git.hungrycats.org Git - linux/commit
x86/KVM/VMX: Use MSR save list for IA32_FLUSH_CMD if required
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 28 Jun 2018 21:10:36 +0000 (17:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:11:04 +0000 (18:11 +0200)
commit0689d66648a5c48b04afec54125ab5812eea2ec0
tree36782342e38e2932dc5909abe74c377ae9bf7804
parent0a06117dd3ee22d731560c9c27a18012f2454bde
x86/KVM/VMX: Use MSR save list for IA32_FLUSH_CMD if required

commit 390d975e0c4e60ce70d4157e0dd91ede37824603 upstream

If the L1D flush module parameter is set to 'always' and the IA32_FLUSH_CMD
MSR is available, optimize the VMENTER code with the MSR save list.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/vmx.c