Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2511746imm; Thu, 7 Jun 2018 11:54:51 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL8HR7eOD7VY9HsgqdOBdYReTG63gQwgyE9uCS+wq57C8lzSLzOm/5CYTid+pnTh7nE7vQY X-Received: by 2002:a17:902:a416:: with SMTP id p22-v6mr3168299plq.228.1528397691206; Thu, 07 Jun 2018 11:54:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528397691; cv=none; d=google.com; s=arc-20160816; b=fSdtQRRU3htYcfuPB6mOP1AHSc4UlQTfy9Cgb73vTsudP4hXsSOyYnf5ARtnARsinP bLglwzv4kOR0EsLhdZgYtDkpbHY/WTNsTBs6KAdyqvAtus2E9VonEv9lgez5MY8aHU5o jpIZgeJHaU5cboiXVWhOPTaZQGBFl8o3UPmHMrlKEPsQLqZb5cChDgWb5of+4x3YCQmv cGkPrxguzFfnFpPK+6HjBItsprVNezRzXaZUkSUsQOgUwRZ1taz7UZOmVaaKA8dv5sRQ FWpAJITRzdj4ivoGdvjYjYtWf3Ntq9HK7vUCVb0XHDOP76qafPHc9fWDLr6JnKdI4xjQ Fbaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=7wh1AIgOlqGx8I4cBgL19617uuw/B0EeHvCz1zLxMQU=; b=DsQ22aAh0mvVRMdEjOMWmIO/9SZvkO1/I1VZnJ79oqawsnJD4LYon8JSNLyvE79M2H EMRcPleQPK4jEGOBQmr83Zacy/c7fJ7vhCLO8r9/4XXCTM9F/tE8dRX21zJA9Y32CzcV vM56pwJNYOrhWzAyo24SklNahEHMRYONbXXy4sHTGmYUkmMax3p2hZmI65/I0AGdW2VH +jRiuBWjcnNC0gnyvmRAAxu1wpsSl4AE1y3rSLAs1e5vpewLKyoIWhlIMqfyAG5hyyxH 0IXCuMWIvcFC/tZq8bjh1QMJK0Sicaq0sF/Vh1D/utDsQUY9wxnqaS1H8BIb20fvx4i6 HvLg== 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 g8-v6si40047171pgv.169.2018.06.07.11.54.36; Thu, 07 Jun 2018 11:54:51 -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 S934814AbeFGPgY (ORCPT + 99 others); Thu, 7 Jun 2018 11:36:24 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:40640 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934245AbeFGOmd (ORCPT ); Thu, 7 Jun 2018 10:42:33 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbd-0005Zk-Ki; Thu, 07 Jun 2018 15:09:37 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvb7-00033m-MO; Thu, 07 Jun 2018 15:09:05 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Peter Zijlstra" , bp@alien8.de, dwmw@amazon.co.uk, dave.hansen@linux.intel.com, "Joe Konno" , gregkh@linuxfoundation.org, "Ingo Molnar" , "Thomas Gleixner" , "Linus Torvalds" , hpa@zytor.com, jpoimboe@redhat.com, arjan@linux.intel.com, luto@kernel.org, dwmw2@infradead.org, dan.j.williams@intel.com, linux-tip-commits@vger.kernel.org Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 239/410] x86/speculation: Add dependency In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 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 [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- 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.