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:12:55 +0000 (18:12 +0200)
commit1c67bf4ca05328323bac6cfb79c91c69228c2090
treeba30cb30bec79cd77bf7f340050ab6aafbe5c6bb
parent7b0cdac526410afd2b5c3e0069366799087db790
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