From: Thomas Gleixner <tglx@linutronix.de>
To: Greg KH <greg@kroah.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
linux-kernel@vger.kernel.org, Vince Weaver <vince@deater.net>,
torvalds@linux-foundation.org, robert@swiecki.net,
luto@amacapital.net, mingo@kernel.org, hughd@google.com,
Alexander Shishkin <alexander.shishkin@linux.intel.com>
Subject: Re: [PATCH] x86,perf: Disable intel_bts when PTI
Date: Sun, 14 Jan 2018 11:52:01 +0100 (CET)
Message-ID: <alpine.DEB.2.20.1801141151450.2371@nanos> (raw)
In-Reply-To: <20180114105003.GA30927@kroah.com>
[-- Attachment #1: Type: text/plain, Size: 868 bytes --]
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 <alexander.shishkin@linux.intel.com>
> > Reported-by: Vince Weaver <vincent.weaver@maine.edu>
> > Reported-by: Robert Święcki <robert@swiecki.net>
> > Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
>
> Can you add a:
> Cc: stable <stable@vger.kernel.org>
> please?
Already in the commit ...
next prev parent reply index
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-14 10:27 Peter Zijlstra
2018-01-14 10:46 ` [tip:x86/pti] " tip-bot for Peter Zijlstra
2018-01-14 10:50 ` [PATCH] " Greg KH
2018-01-14 10:52 ` Thomas Gleixner [this message]
2018-01-14 12:54 ` Ingo Molnar
2018-01-14 13:27 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.20.1801141151450.2371@nanos \
--to=tglx@linutronix.de \
--cc=alexander.shishkin@linux.intel.com \
--cc=greg@kroah.com \
--cc=hughd@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=robert@swiecki.net \
--cc=torvalds@linux-foundation.org \
--cc=vince@deater.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
LKML Archive on lore.kernel.org
Archives are clonable:
git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git
git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git
git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git
git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git
git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git
git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git
git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git
git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git
git clone --mirror https://lore.kernel.org/lkml/8 lkml/git/8.git
git clone --mirror https://lore.kernel.org/lkml/9 lkml/git/9.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \
linux-kernel@vger.kernel.org
public-inbox-index lkml
Example config snippet for mirrors
Newsgroup available over NNTP:
nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git