Received: by 10.223.185.116 with SMTP id b49csp1385998wrg; Wed, 14 Feb 2018 16:40:02 -0800 (PST) X-Google-Smtp-Source: AH8x226VajC2cMceZh55JNNpHmKxAEglRuLKTE7fVkZYbaOxfUG259kxOShGBRq/KthqPD6+uz9U X-Received: by 2002:a17:902:ad05:: with SMTP id i5-v6mr788328plr.139.1518655202858; Wed, 14 Feb 2018 16:40:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518655202; cv=none; d=google.com; s=arc-20160816; b=phgazYNGkOufh8Lax2Fm1rLQ7WSGFtp79Igf08onAgt2mtxdB74v10LYlr3k7eJoP1 CYcDFCz8v62bmIilY+BzNirHSlDFza00lQ08LKRen4g79Eh/s3ASHioRPWQa9u6+saiQ eujeBAHaBxEt25tjgt3sfEqWnBPckuDbPvBV/KNUsqidyLw0vr/ddGg+Ap0UBpm21Vtb g9IDpNAHG8uSJPfT1/RDgxXypeAOQx1237tO8GKk7Nb4XxlY3qjtBH4QMNmrAA1RML9K GAu9rjJXXCFUqmeGQ+UliNI/lFYg64qfE3yAAm1ovThX5sD7FUIFP4WvAJrU8apA+NXY RSdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=EJCA/i35xs6AGZGzfAtC/k+dpMgI3GCZfRITFTOc6Os=; b=JzQNOMql41kUPm3+cXlGkHuSKPTtOZS9om+V2rm1pt3Et8ZANfmf3smBc30jWLZJBI 8d8MDRgWSE5HsXi6Dk43GjCNiUGREy06nAwSSGR6ZYp2qgNXyUzIq9aXe7nLwzNYSmuy HYL1wk7y6mi3AizsD529uMxmcgFnc6Us1Vm5ZKqRNTSzX1m0nNpDDtZ/gkfG/KISEm6C zalNm0Xpjnp5oVMezYJGvzhWwrUS9hcSGGRX0Nk8aKHoZv/O2CujnsRmhTg5iVqcRcXc azCNpbiKatC42Nbt54144extFYr+oFbxQBrQp6w2x2DZtydnvfinmHSKnT802oTSWGAN DhsA== 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 g9-v6si506719plk.346.2018.02.14.16.39.48; Wed, 14 Feb 2018 16:40:02 -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 S1032424AbeBOAi5 (ORCPT + 99 others); Wed, 14 Feb 2018 19:38:57 -0500 Received: from terminus.zytor.com ([198.137.202.136]:37875 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032245AbeBOAis (ORCPT ); Wed, 14 Feb 2018 19:38:48 -0500 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w1F0SRwc011907; Wed, 14 Feb 2018 16:28:27 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w1F0SRIp011903; Wed, 14 Feb 2018 16:28:27 -0800 Date: Wed, 14 Feb 2018 16:28:27 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Peter Zijlstra Message-ID: Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@zytor.com, peterz@infradead.org, mingo@kernel.org, joe.konno@linux.intel.com Reply-To: mingo@kernel.org, hpa@zytor.com, peterz@infradead.org, tglx@linutronix.de, joe.konno@linux.intel.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org In-Reply-To: <20180213132819.GJ25201@hirez.programming.kicks-ass.net> References: <20180213132819.GJ25201@hirez.programming.kicks-ass.net> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/pti] x86/speculation: Add dependency Git-Commit-ID: ea00f301285ea2f07393678cd2b6057878320c9d X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: ea00f301285ea2f07393678cd2b6057878320c9d Gitweb: https://git.kernel.org/tip/ea00f301285ea2f07393678cd2b6057878320c9d Author: Peter Zijlstra AuthorDate: Tue, 13 Feb 2018 14:28:19 +0100 Committer: Ingo Molnar CommitDate: Thu, 15 Feb 2018 01:15:51 +0100 x86/speculation: Add dependency 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 --- arch/x86/include/asm/nospec-branch.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/nospec-branch.h b/arch/x86/include/asm/nospec-branch.h index 300cc15..76b0585 100644 --- 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__