[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180510142754.6av5on7mapnpwbzt@treble>
Date: Thu, 10 May 2018 09:27:54 -0500
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Vince Weaver <vincent.weaver@...ne.edu>,
Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Andy Lutomirski <luto@...nel.org>
Subject: Re: perf: fuzzer causes stack going in wrong direction warnings
On Thu, May 10, 2018 at 03:48:41PM +0200, Peter Zijlstra wrote:
> On Sun, May 06, 2018 at 06:49:35PM -0500, Josh Poimboeuf wrote:
>
> > Deja vu. Most of these are related to perf PEBS, similar to the
> > following issue:
> >
> > b8000586c90b ("perf/x86/intel: Cure bogus unwind from PEBS entries")
> >
> > This is basically the ORC version of that. setup_pebs_sample_data() is
> > assembling a franken-pt_regs which ORC isn't happy about. RIP is
> > inconsistent with some of the other registers (like RSP and RBP).
> >
> > Peter, any ideas?
>
> Urgh..
>
> Something like so perhaps? It's a bit of a hack, but I couldn't quickly
> think of something nicer.
Thanks, seems like this would work. I'll give it some testing.
--
Josh
Powered by blists - more mailing lists