From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751730AbeANN13 (ORCPT + 1 other); Sun, 14 Jan 2018 08:27:29 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48503 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751305AbeANN11 (ORCPT ); Sun, 14 Jan 2018 08:27:27 -0500 X-ME-Sender: Date: Sun, 14 Jan 2018 14:27:28 +0100 From: Greg KH To: Ingo Molnar Cc: Peter Zijlstra , Thomas Gleixner , linux-kernel@vger.kernel.org, Vince Weaver , torvalds@linux-foundation.org, robert@swiecki.net, luto@amacapital.net, hughd@google.com, Alexander Shishkin Subject: Re: [PATCH] x86,perf: Disable intel_bts when PTI Message-ID: <20180114132728.GA3589@kroah.com> References: <20180114102713.GB6166@worktop.programming.kicks-ass.net> <20180114105003.GA30927@kroah.com> <20180114125444.uqr53c6ryfn5hd53@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180114125444.uqr53c6ryfn5hd53@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Sun, Jan 14, 2018 at 01:54:44PM +0100, Ingo Molnar wrote: > > * Greg KH wrote: > > > On Sun, Jan 14, 2018 at 11:27:13AM +0100, Peter Zijlstra wrote: > > > > > > The intel_bts driver does not use the 'normal' BTS buffer we allocated > > > space for in the cpu_entry_area but instead uses the memory allocated > > > for the perf AUX buffer. > > > > > > This obviously comes apart when using PTI because then the kernel > > > mapping; which includes that AUX buffer memory; disappears. > > > > > > For now disable this driver when PTI is enabled, we'll try and sort > > > something out later. > > > > > > Cc: Alexander Shishkin > > > Reported-by: Vince Weaver > > > Reported-by: Robert Święcki > > > Signed-off-by: Peter Zijlstra (Intel) > > > > Can you add a: > > Cc: stable > > please? > > Note that these fixes are all going into tip:x86/pti, which is still a backporting > friendly linear set of commits that should all be backported. > > So once 99a9dc98ba52 goes upstream, all of v4.14..99a9dc98ba52 the remaining bits > can go to -stable as well. > > Will keep you updated about the latest status periodically, right now the latest > that is already upstream is: > > de791821c295: x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN > > i.e. all 194 commits in the v4.14..de791821c295 range should be queued up for > -stable. (And most of them already are.) I hope I got all of those in that branch already, as I've been watching it :) > There are 28 new commits in tip:x86/pti that will (hopefully) go upstream later > today. Great, again, thanks for doing it this way, it has made it much easier for me. greg k-h