Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 20 Jun 2018 16:42:15 -0000 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1fVgBS-0000N2-Sk for speck@linutronix.de; Wed, 20 Jun 2018 18:42:14 +0200 Received: by mail-wr0-x231.google.com with SMTP id w7-v6so193635wrn.6 for ; Wed, 20 Jun 2018 09:42:14 -0700 (PDT) Received: from donizetti.redhat.com (dynamic-adsl-78-12-154-24.clienti.tiscali.it. [78.12.154.24]) by smtp.gmail.com with ESMTPSA id b190-v6sm4892446wma.24.2018.06.20.09.42.08 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 09:42:08 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Subject: [MODERATED] [PATCH 0/2] L1TF KVM v2 0 Date: Wed, 20 Jun 2018 18:42:05 +0200 Message-Id: <20180620164207.31771-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: Here is at last the respin (almost rewrite) of the L1 terminal fault KVM mitigation patches, adding a TLB flush on vmentry. They take into account Thomas and Peter's review. Thanks, Paolo Paolo Bonzini (2): kvm: x86: mitigation for L1 cache terminal fault vulnerabilities kvm: x86: add support for L1D flush MSR arch/x86/include/asm/cpufeatures.h | 1 + arch/x86/include/asm/kvm_host.h | 7 +++- arch/x86/include/asm/msr-index.h | 3 ++ arch/x86/kvm/mmu.c | 1 + arch/x86/kvm/svm.c | 3 +- arch/x86/kvm/vmx.c | 46 +++++++++++++++++++++++++- arch/x86/kvm/x86.c | 66 ++++++++++++++++++++++++++++++++++++-- 7 files changed, 122 insertions(+), 5 deletions(-) -- 1.8.3.1