From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965950AbeEJO15 (ORCPT ); Thu, 10 May 2018 10:27:57 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:34990 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935632AbeEJO14 (ORCPT ); Thu, 10 May 2018 10:27:56 -0400 Date: Thu, 10 May 2018 09:27:54 -0500 From: Josh Poimboeuf To: Peter Zijlstra Cc: Vince Weaver , Ingo Molnar , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Thomas Gleixner , Andy Lutomirski Subject: Re: perf: fuzzer causes stack going in wrong direction warnings Message-ID: <20180510142754.6av5on7mapnpwbzt@treble> References: <20180501135850.enx4waqd5d7yowlj@treble> <20180501220458.p3rgwzh3jcqt4jmm@treble> <20180502205009.codkvscnh4j4hm6b@treble> <20180504162557.iodmglq3duomz6c2@treble> <20180505182912.llj7jb3v7yd43t5h@treble> <20180506234935.yq6zxjetlpldpzz7@treble> <20180510134841.GE12217@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180510134841.GE12217@hirez.programming.kicks-ass.net> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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