]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/litf: Introduce vmx status variable
authorThomas Gleixner <tglx@linutronix.de>
Fri, 13 Jul 2018 14:23:16 +0000 (16:23 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 13 Jul 2018 14:29:53 +0000 (16:29 +0200)
commit72c6d2db64fa18c996ece8f06e499509e6c9a37e
treec49182149cad90b5da11b3dbf996d67c4186e0de
parent215af5499d9e2b55f111d2431ea20218115f29b3
x86/litf: Introduce vmx status variable

Store the effective mitigation of VMX in a status variable and use it to
report the VMX state in the l1tf sysfs file.

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.433098358@linutronix.de
arch/x86/include/asm/vmx.h
arch/x86/kernel/cpu/bugs.c
arch/x86/kvm/vmx.c