Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 05 Aug 2018 14:07:58 -0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1fmJhM-000212-QI for speck@linutronix.de; Sun, 05 Aug 2018 16:07:56 +0200 Received: by mail-wr1-x42a.google.com with SMTP id j5-v6so9833104wrr.8 for ; Sun, 05 Aug 2018 07:07:56 -0700 (PDT) Received: from donizetti.redhat.com ([151.20.245.53]) by smtp.gmail.com with ESMTPSA id w9-v6sm6700112wrr.77.2018.08.05.07.07.48 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Aug 2018 07:07:49 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Subject: [MODERATED] [PATCH v3 0/4] L1TF KVM ARCH_CAPABILITIES #0 Date: Sun, 5 Aug 2018 16:07:43 +0200 Message-Id: <20180805140747.22303-1-pbonzini@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 To: speck@linutronix.de List-ID: Support for ARCH_CAPABILITIES bit 3, which can already be used to disable the mitigations on a nested hypervisor. Patch 1 is already in Linus's tree. Paolo Bonzini (4): KVM: VMX: support MSR_IA32_ARCH_CAPABILITIES as a feature MSR x86: simplify sysfs report of VMX L1TF vulnerability x86: use ARCH_CAPABILITIES to skip L1D flush on vmentry KVM: VMX: tell nested hypervisor to skip L1D flush on vmentry Documentation/admin-guide/l1tf.rst | 21 +++++++++++++++++++++ arch/x86/include/asm/kvm_host.h | 1 + arch/x86/include/asm/msr-index.h | 1 + arch/x86/include/asm/vmx.h | 1 + arch/x86/kernel/cpu/bugs.c | 15 +++++++++++---- arch/x86/kvm/vmx.c | 13 +++++++++++-- arch/x86/kvm/x86.c | 28 +++++++++++++++++++++++++++- 7 files changed, 73 insertions(+), 7 deletions(-) -- 2.17.1