x86/kvm: Serialize L1D flush parameter setter
authorThomas Gleixner <tglx@linutronix.de>
Fri, 13 Jul 2018 14:23:21 +0000 (16:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:12:56 +0000 (18:12 +0200)
commit15e55ee33d89b9cf1745daf18260ee351058571c
tree81ee572fbb57a1979b3cf5aa28291aebe0d9d6c5
parent8e523a1da19e9cfcb4e801bcba2fd1e2d6f5aace
x86/kvm: Serialize L1D flush parameter setter

commit dd4bfa739a72508b75760b393d129ed7b431daab upstream

Writes to the parameter files are not serialized at the sysfs core
level, so local serialization is required.

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.873642605@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/vmx.c