Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5763780imm; Mon, 23 Jul 2018 05:47:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfTs15cqXDhMa7XuaL1a8Ou5drlWV/k2bBA93n/IZRPECBZGZkw+cEQbQU9Kpc9zvARzJN0 X-Received: by 2002:a63:4c21:: with SMTP id z33-v6mr12048980pga.383.1532350053536; Mon, 23 Jul 2018 05:47:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532350053; cv=none; d=google.com; s=arc-20160816; b=OOSvpZXupfATfrGzLuwCm9SNCOYCZNKk8hzLgFsZGyOruzjkH3nCrCjYMkoJbK0jwZ SFeNSO/lhZXwm4cDtb4yMv17NmyfFcddafW5Y5o+9jqb/C27684qVjE+9GsATq3yEmoW ndoIodi6+44d9migMBncMDPgjpZuK2IyV+x1b8WWKUSYtsy+qgRq4fNgcHysFbpyAQsV 1H+IUbG0z5UEiSMyOn1lGmEOapA5eZ9EZYQVSWnSykhZRDia0VoQVNtNFnN9kNgcnstD 35K+w9NzkKZn1xKK4JB9bf6eXL53+LWHaHmhwEQRBOLny9rf6VzXYrLovhYn2Qj5ikbE Id5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=pcGTBDi7P2nB9MmI7A45DmCjp6WKk9i7VMzJ2fltJZs=; b=yPNTv9nbPbCueGFDiR8BFezmY1CEcN1lc1xA45ioihu1f5b5Bi6LY+1WQp/sNeOA4h kutDKxlsGLE9LCzfC/dCQ6NS49yPErRRaYmU/YFl4TFu22VuH1gx1oJ2zXrwMKTQLk3h JkvyzdYLKc1pDP6FgAJ/+9MKAuFp/Tei3qaldHa11cn1OXt7DIFA/1CmnpQYC6WhTLgR yRfaKlv61Z1jw419+i2sgXheDVM3viZzGFqMH8rYUKWq+21n/jJpL3o/ZIFekyT5md9M pbRO1P3YsOlaoz1KBJsNMGGCV95XHL07i0xhzSMBZ9hft+Rh1HlyYl4IE2NcVn59ChUd gXEA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k20-v6si8066006pgb.115.2018.07.23.05.47.18; Mon, 23 Jul 2018 05:47:33 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388807AbeGWNrH (ORCPT + 99 others); Mon, 23 Jul 2018 09:47:07 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50670 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388007AbeGWNrG (ORCPT ); Mon, 23 Jul 2018 09:47:06 -0400 Received: from localhost (LFbn-1-12238-233.w90-92.abo.wanadoo.fr [90.92.53.233]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id B03A5C83; Mon, 23 Jul 2018 12:44:00 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Joe Konno , "Peter Zijlstra (Intel)" , Linus Torvalds , Thomas Gleixner , arjan@linux.intel.com, bp@alien8.de, dan.j.williams@intel.com, dave.hansen@linux.intel.com, dwmw2@infradead.org, dwmw@amazon.co.uk, hpa@zytor.com, jpoimboe@redhat.com, linux-tip-commits@vger.kernel.org, luto@kernel.org, Ingo Molnar , "Srivatsa S. Bhat" , "Matt Helsley (VMware)" , Alexey Makhalov , Bo Gan Subject: [PATCH 4.4 035/107] x86/speculation: Add dependency Date: Mon, 23 Jul 2018 14:41:29 +0200 Message-Id: <20180723122414.631160685@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180723122413.003644357@linuxfoundation.org> References: <20180723122413.003644357@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Peter Zijlstra commit ea00f301285ea2f07393678cd2b6057878320c9d upstream. Joe Konno reported a compile failure resulting from using an MSR without inclusion of , and while the current code builds fine (by accident) this needs fixing for future patches. Reported-by: Joe Konno Signed-off-by: Peter Zijlstra (Intel) Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: arjan@linux.intel.com Cc: bp@alien8.de Cc: dan.j.williams@intel.com Cc: dave.hansen@linux.intel.com Cc: dwmw2@infradead.org Cc: dwmw@amazon.co.uk Cc: gregkh@linuxfoundation.org Cc: hpa@zytor.com Cc: jpoimboe@redhat.com Cc: linux-tip-commits@vger.kernel.org Cc: luto@kernel.org Fixes: 20ffa1caecca ("x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support") Link: http://lkml.kernel.org/r/20180213132819.GJ25201@hirez.programming.kicks-ass.net Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman Signed-off-by: Srivatsa S. Bhat Reviewed-by: Matt Helsley (VMware) Reviewed-by: Alexey Makhalov Reviewed-by: Bo Gan Signed-off-by: Greg Kroah-Hartman --- arch/x86/include/asm/nospec-branch.h | 1 + 1 file changed, 1 insertion(+) --- a/arch/x86/include/asm/nospec-branch.h +++ b/arch/x86/include/asm/nospec-branch.h @@ -6,6 +6,7 @@ #include #include #include +#include /* * Fill the CPU return stack buffer.