Received: by 10.223.185.116 with SMTP id b49csp3779498wrg; Tue, 13 Feb 2018 07:39:19 -0800 (PST) X-Google-Smtp-Source: AH8x225iNVe8IJET8RJ5BJBS2VEX98g+iKHYmBMlc7YixJmAtUyNZiFkXmuSXaS3AdDRhj1xoxrq X-Received: by 10.99.3.8 with SMTP id 8mr1307937pgd.5.1518536359378; Tue, 13 Feb 2018 07:39:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518536359; cv=none; d=google.com; s=arc-20160816; b=XRvsLf1eelJfp0LmoyD/JNQJgvG6+SGnjI39mH0LRDpyEGZKYqADWrG/dTQV7L7FmS zJxGg5NUPZyoEv+gMwWGn0OBs0yF0/S0C/oHzD7153ugoKgFvuKXze6p3xLtFKuSaeZ8 F1AOo+uHdEhXaE1fSaqcuz6zI8xXQwMU1I1N1iCI6TTFoetLZg+RpYpbQfOkrSE7Hbn9 LV9F94YfKFjGLCNHNxvnW7ILgtOPmv138J0Rzut9t3N87oEk36zs+r8va67VBGfEYNWw EC70AOyc8frilErxvOz7Dr5bZeeT5K8RvwvQ8EEqy0TvTRU69krBKFugtv7tPmDKpuTR iXzw== 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=MmRBVye2GTpuRdc1BT8JLu3UX2GIDm5EO/9gO43hxpY=; b=hNHwt9aoUDvRsZWlNzOR0lko4jvmdruQpRZDkCVGLlEytCSoc2i02PheuN8u6GsN7x 6XJVGM3BER6CK7dm1s/f/QmDzcT5i7/KnE4fKpWoIvg3peBFgSy86WV1rdzQMXnp+1We EgSt1J7QGpuhbNhTbv/icp9h+U9X2VTnHyv/7fln17Nd9r+OmWQMKQ+W5yfszIECO4jH aCmMfwPFzIQki7y9sw8glcT4/OF5Vn2/1K6UDrlTIu/xAfgyx+uHikQ91/ykTs9WvwbK Lvum9b+McvCt3dwOz4jAJtzZyCOY67t9GkzTk7/TYAEPZSKbWq69FWHhP+4FXqokt3xm NnOA== 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 p22si6236264pff.208.2018.02.13.07.39.05; Tue, 13 Feb 2018 07:39:19 -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 S934485AbeBMPhv (ORCPT + 99 others); Tue, 13 Feb 2018 10:37:51 -0500 Received: from terminus.zytor.com ([198.137.202.136]:40355 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934412AbeBMPhs (ORCPT ); Tue, 13 Feb 2018 10:37: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 w1DFQOOr004285; Tue, 13 Feb 2018 07:26:24 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w1DFQNjP004282; Tue, 13 Feb 2018 07:26:23 -0800 Date: Tue, 13 Feb 2018 07:26:23 -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: tglx@linutronix.de, linux-kernel@vger.kernel.org, joe.konno@linux.intel.com, mingo@kernel.org, peterz@infradead.org, hpa@zytor.com, torvalds@linux-foundation.org Reply-To: torvalds@linux-foundation.org, tglx@linutronix.de, mingo@kernel.org, joe.konno@linux.intel.com, linux-kernel@vger.kernel.org, hpa@zytor.com, peterz@infradead.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: 30d97b098534d1d35b198531870356a29cc066c2 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: 30d97b098534d1d35b198531870356a29cc066c2 Gitweb: https://git.kernel.org/tip/30d97b098534d1d35b198531870356a29cc066c2 Author: Peter Zijlstra AuthorDate: Tue, 13 Feb 2018 14:28:19 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 14:39:34 +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__