Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 12 Jul 2018 14:34:29 -0000 Received: from localhost ([127.0.0.1] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1fdcfs-0006v5-2c for speck@linutronix.de; Thu, 12 Jul 2018 16:34:28 +0200 Message-ID: <20180712141902.576562442@linutronix.de> Date: Thu, 12 Jul 2018 16:19:02 +0200 From: Thomas Gleixner Subject: [patch V10 00/10] Control knobs and Documentation 0 Mime-Version: 1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: The following series provides the following changes: - Fix EPT=off handling so it avoids flushing - Expose proper VMX mitigation information in sysfs - Drops the MSR list mechanism for flush 'always' to prepare for runtime control. The default flush mechanism is conditional anyway and the MSR list is set up at guest init time, which is nasty to run time switch especially because the static key is a global control which can be flipped by an update. - Make the flush always/conditional static key based. - Serialize the kvm parameter setter function - Enable runtime control for the kvm parameter - Add the l1tf command line option. It's not run time controllable as it does not make sense to have 3 knobs at runtime. For the command line the combo knob setting the default is convenient - Documentation update This takes the review comments into account as much as still applicable. Thanks to Jiri for testing the lot and debugging and fixing my brainfarts! Git bundle follows in separate mail. Thanks, tglx 8<------------- Documentation/admin-guide/index.rst | 9 Documentation/admin-guide/kernel-parameters.txt | 65 ++ arch/x86/include/asm/processor.h | 12 arch/x86/include/asm/vmx.h | 10 arch/x86/kernel/cpu/bugs.c | 81 +++ arch/x86/kvm/vmx.c | 302 +++++++----- b/Documentation/admin-guide/l1tf.rst | 572 ++++++++++++++++++++++++ include/linux/cpu.h | 2 kernel/cpu.c | 12 9 files changed, 930 insertions(+), 135 deletions(-)