From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752083AbeANKwJ (ORCPT + 1 other); Sun, 14 Jan 2018 05:52:09 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:37524 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751595AbeANKwH (ORCPT ); Sun, 14 Jan 2018 05:52:07 -0500 Date: Sun, 14 Jan 2018 11:52:01 +0100 (CET) From: Thomas Gleixner To: Greg KH cc: Peter Zijlstra , linux-kernel@vger.kernel.org, Vince Weaver , torvalds@linux-foundation.org, robert@swiecki.net, luto@amacapital.net, mingo@kernel.org, hughd@google.com, Alexander Shishkin Subject: Re: [PATCH] x86,perf: Disable intel_bts when PTI In-Reply-To: <20180114105003.GA30927@kroah.com> Message-ID: References: <20180114102713.GB6166@worktop.programming.kicks-ass.net> <20180114105003.GA30927@kroah.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-884765682-1515927122=:2371" X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-884765682-1515927122=:2371 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT On Sun, 14 Jan 2018, 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? Already in the commit ... --8323329-884765682-1515927122=:2371--