From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751743AbeANMyu (ORCPT + 1 other); Sun, 14 Jan 2018 07:54:50 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:44761 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751305AbeANMys (ORCPT ); Sun, 14 Jan 2018 07:54:48 -0500 X-Google-Smtp-Source: ACJfBove4YQJ0Fbhkawr8ODywD3bs1UkZ5CklP2wNuew1pMVToBd24DdF/tdY11s74aap0R7sqZ4OQ== Date: Sun, 14 Jan 2018 13:54:44 +0100 From: Ingo Molnar To: Greg KH 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: <20180114125444.uqr53c6ryfn5hd53@gmail.com> References: <20180114102713.GB6166@worktop.programming.kicks-ass.net> <20180114105003.GA30927@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180114105003.GA30927@kroah.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: * 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.) There are 28 new commits in tip:x86/pti that will (hopefully) go upstream later today. Thanks, Ingo