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 CVE-2018-3620 CVE-2018-3646 [smb: Minor context adjustment in last hunk] Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Showing
Please register or sign in to comment