Received: by 10.223.176.5 with SMTP id f5csp923056wra; Tue, 6 Feb 2018 09:32:10 -0800 (PST) X-Google-Smtp-Source: AH8x2243wIA8R3v4953ppvj5x2ayjM+qDStQ9ucPNx/VaxOKtiHxqDbu/id4Gk38eGTU+rx6PYyN X-Received: by 2002:a17:902:24a2:: with SMTP id w31-v6mr3096029pla.262.1517938330647; Tue, 06 Feb 2018 09:32:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517938330; cv=none; d=google.com; s=arc-20160816; b=FSZa4p9scKaov72nTeT9OParxWA1s0zWc643czMtbIA7GS5WunN9JUccLfdYlDs3gH 3Duxcs817iuKNVmaPXqdfX8zdATYF9Q3comgTymw6p7s7E1NHjrXY01XPNay3x70LMgb ObepeVRurUCZz8KBOdRt9CptM+87Kki4LcHq2l25K0BR+sR70eLA2ebeXbdtDXLNn4jk dFBbwvy3MD3z+MvgFBQjJMwjWkodCtJuG+Kk3KcTzCWHhhbxWQ0fdYF70d6hP4bT8MUl P+6oBZdJePweXIXTWBCClHTFWxBkKL4AkJxvQlaRkOLNnnzZgbTKNEh0igvtO0HTokfI zLcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature :arc-authentication-results; bh=CBxfhD/ajm9qU8EFYMN0IVzZbrA8QyBXe4TWEHVxevY=; b=aqeoUj1Efx7H0XArNziKcKOUuR0x9oOAyqkMwfblk3QJSoSXsFXUGcUEouLuLPOx54 pHg/aUYBTeYi0goxEkVcPtr7yF7pLHw+A7v6PQDGRBzhQ7R8MDEXbIPkaB81QuVHgVFv J8IkYif58SXQe7VzlsEMDx7L9qhL60CMBFXCuCfH79COGfFnN0WVhpiL2yeXfSlNZNhx IkP37gUloKuRyFe97d7RAy2oINOCuzOZ/Plfus5MmM3eDOOnG6uc346UxMqoXEG+/oLI 2c+iTe8eiUIi7HjYHk4DKxth7xnqgrIb/WvNAS5Yy4tvdqM47tfcOr0LJpXqmobz9SDt r0Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.co.uk header.s=amazon201209 header.b=Fn11aCAe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3-v6si1725341pld.374.2018.02.06.09.31.57; Tue, 06 Feb 2018 09:32:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.co.uk header.s=amazon201209 header.b=Fn11aCAe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752737AbeBFR34 (ORCPT + 99 others); Tue, 6 Feb 2018 12:29:56 -0500 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:15655 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752236AbeBFR3v (ORCPT ); Tue, 6 Feb 2018 12:29:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.co.uk; i=@amazon.co.uk; q=dns/txt; s=amazon201209; t=1517938191; x=1549474191; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=CBxfhD/ajm9qU8EFYMN0IVzZbrA8QyBXe4TWEHVxevY=; b=Fn11aCAejhiQDKD60qpGFmk+1h4KFRb+KgbBAddv/NE+YDpDd2zi0jty RjPAFYiBKjaB337DWTH0B29WH/6PgPGvH2Zwdiy7RiNr66vFimfXTp3fV 9m5M7xVQT162Ie/BL1j3KW+cFc2odcD/NqJEj2WCIymJ0bMz/qyAtcEJ6 Y=; X-IronPort-AV: E=Sophos;i="5.46,469,1511827200"; d="scan'208";a="330925114" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2c-1968f9fa.us-west-2.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Feb 2018 17:29:49 +0000 Received: from uc8d3ff76b9bc5848a9cc.ant.amazon.com (pdx2-ws-svc-lb17-vlan2.amazon.com [10.247.140.66]) by email-inbound-relay-2c-1968f9fa.us-west-2.amazon.com (8.14.7/8.14.7) with ESMTP id w16HTjnd066044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Feb 2018 17:29:46 GMT Received: from uc8d3ff76b9bc5848a9cc.ant.amazon.com (localhost [127.0.0.1]) by uc8d3ff76b9bc5848a9cc.ant.amazon.com (8.15.2/8.15.2/Debian-3) with ESMTP id w16HTikh020651; Tue, 6 Feb 2018 17:29:44 GMT Received: (from dwmw@localhost) by uc8d3ff76b9bc5848a9cc.ant.amazon.com (8.15.2/8.15.2/Submit) id w16HTiq0020648; Tue, 6 Feb 2018 17:29:44 GMT From: David Woodhouse To: Paolo Bonzini , Jim Mattson , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, KarimAllah Ahmed , gregkh@linuxfoundation.org, stable@vger.kernel.org Subject: [STABLE 4.9.y PATCH 0/9] Backport of KVM Speculation Control support Date: Tue, 6 Feb 2018 17:29:32 +0000 Message-Id: <1517938181-15317-1-git-send-email-dwmw@amazon.co.uk> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I've put together a linux-4.9.y branch at http://git.infradead.org/retpoline-stable.git/shortlog/refs/heads/linux-4.9.y Most of it is fairly straightforward, apart from the IBPB on context switch for which Tim has already posted a candidate. I wanted some more review on my backports of the KVM bits though, including some extra historical patches I pulled in. Ashok Raj (1): KVM/x86: Add IBPB support David Hildenbrand (1): KVM: nVMX: vmx_complete_nested_posted_interrupt() can't fail David Matlack (1): KVM: nVMX: mark vmcs12 pages dirty on L2 exit Jim Mattson (1): KVM: nVMX: Eliminate vmcs02 pool KarimAllah Ahmed (3): KVM/VMX: Emulate MSR_IA32_ARCH_CAPABILITIES KVM/VMX: Allow direct access to MSR_IA32_SPEC_CTRL KVM/SVM: Allow direct access to MSR_IA32_SPEC_CTRL Paolo Bonzini (2): KVM: VMX: introduce alloc_loaded_vmcs KVM: VMX: make MSR bitmaps per-VCPU arch/x86/kvm/cpuid.c | 21 +- arch/x86/kvm/cpuid.h | 31 +++ arch/x86/kvm/svm.c | 116 ++++++++ arch/x86/kvm/vmx.c | 730 +++++++++++++++++++++++++++------------------------ arch/x86/kvm/x86.c | 1 + 5 files changed, 554 insertions(+), 345 deletions(-) -- 2.7.4