Received: by 10.223.185.116 with SMTP id b49csp939012wrg; Wed, 21 Feb 2018 09:19:59 -0800 (PST) X-Google-Smtp-Source: AH8x227Z6Q/5Vaq4Zoz6VphfnLo3KL7VN91fmdWGjWuWCYxbsvbZBmtoQGa3G0n/G8bvSsFliRRF X-Received: by 2002:a17:902:74c3:: with SMTP id f3-v6mr3807215plt.444.1519233599106; Wed, 21 Feb 2018 09:19:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519233599; cv=none; d=google.com; s=arc-20160816; b=HJXMrGLAi+8Roioz6rMExl6r7mWG4fX56wenAaX/mR/g1tlBvvUD4UI0N21SBwIfiA TmEiHXx6Uj4yPEuYG8oK0iM7yTpBg542g7VbOFhIWq5NmaaaZQJhSRpb/dQxVA2Lqaqs cLqu9aEkLtRfIYzBBZnUQOAdp6KSQAMVHGNDqM7AVbX892R+6cDScLROPZhGKKQPOkPD 8W7MgvWsj+/VGFiv35+FGjhd7MfarHpLk9tJEJove4IlND0DmFm3Vv39EiGtzZKsCx1r FPv4pAHd1FJtVBAA8sf6Cyrz7avnDbtPT6ZQraiD82ZX5sevNhJbjh3il7N6HjzwbbpJ uNMg== 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=xHl1gRg3tmq11JK7ndcSb6f9Q+/qZDFhMvzZbicORAk=; b=V6Ayu3if88pO5Q4kxouOYMt2XuPK8OFSjsoeEJUhQSLqN4qISgmMwOMJZDB5yhjwGY +PhRnG565WfBqCb76sBXHzEigPbU6/ja+nXzXb2eJ3wByRr63pYmMUDEK+m54L137aio nJxbTdQgC22Gxw8jy+nyfp79QxMKZtYn2mD3lTZWLAjO0wgrmGAXEz1kKvZ25yB7si+d PuOSfM72RHZOV9f/5Qbx9+uRwOM6Gh5QewQjfBYzbppu9LcOOVleHvdbRTITnhJClivQ QPQSq2TVLbvQrPqE55CeP7pZS7UwOhDhXVnLhoSzO/F8o9t6mHoHSUghdtvomIRbgWEN dqwA== 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 x65si3783364pfj.354.2018.02.21.09.19.41; Wed, 21 Feb 2018 09:19:59 -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; 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 S934531AbeBUM4u (ORCPT + 99 others); Wed, 21 Feb 2018 07:56:50 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:35514 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934500AbeBUM4o (ORCPT ); Wed, 21 Feb 2018 07:56:44 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id B0EBEECF; Wed, 21 Feb 2018 12:56:43 +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 Subject: [PATCH 4.9 62/77] x86/speculation: Add dependency Date: Wed, 21 Feb 2018 13:49:11 +0100 Message-Id: <20180221124434.818302526@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180221124432.172390020@linuxfoundation.org> References: <20180221124432.172390020@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.9-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 --- 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 #ifdef __ASSEMBLY__