From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751766AbeANKuD (ORCPT + 1 other); Sun, 14 Jan 2018 05:50:03 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58035 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751101AbeANKuC (ORCPT ); Sun, 14 Jan 2018 05:50:02 -0500 X-ME-Sender: Date: Sun, 14 Jan 2018 11:50:03 +0100 From: Greg KH To: Peter Zijlstra Cc: Thomas Gleixner , 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 Message-ID: <20180114105003.GA30927@kroah.com> References: <20180114102713.GB6166@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180114102713.GB6166@worktop.programming.kicks-ass.net> 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 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? thanks, greg k-h