Received: by 10.192.165.148 with SMTP id m20csp1221995imm; Thu, 10 May 2018 07:28:43 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq/TJBTt+c3gERilccNJsZ7eAHtiu1UQXNF8wNGvgb/2EkWpqMGu/R91uOAxVpCo91vgaqf X-Received: by 2002:a17:902:7283:: with SMTP id d3-v6mr1664703pll.192.1525962523672; Thu, 10 May 2018 07:28:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525962523; cv=none; d=google.com; s=arc-20160816; b=Gu8yH6cD1hn+5iqReamlsBz+z5/LhVbHOtb0yfuoHWekFVkyvQ7bVWlVE6IYb2NjOU +4LeT6q/62YMhXNeXg5vYvwhu61VcfrHJOhi92D4hLvWU9afL77EeNpAN5ksFFyRWjtf UNIQVdCzMAcapveck2FUWwV6PWXNJT/1l2NBx/BMDbUJydieMojL7GV99ysEaIPOk1ll 71w3i62IQzPDHacrunD6oAZG8OCC/GwjM472D4HBcFLpCn10mKAtIgVLgvSmYKJy54kz 34PkV3RqjOh/zC28+OoO8vOFIvRGYYqG4FYRaYsYoOvhx1WstDCkdarOD2X5Q13MXHEk yrpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=qxL4f6gG0U69BIPt8Tq4L+KP4E4P0qkYEDrk3vPAT44=; b=tmRGyWB1D7Uwev0m87SGfNPvyYBDiV7wCdGo12kh8zSpv4C78oHUdcX7bAsJ/gVGMm g+F2CVrD32b3cFIL0sWQS5becbkZx77OE0ts5CH9Z0vxAWA4vi5JrW672TBsm8abAdVw 9RpAFn3uCASsNMdEZ6vc707sRAzifS/JAcT2QIt9bEo7UPP7+mbRy8tnKUxt0+1X5LJk zAFDAg4zEOf8XXkUquWxDDjTPNwGib2fBI8dXceMShFZ4JIx7A5YaLY0Ef3dyqLRtKBz uI+KEHPvAc+6/CJTY6Z4jeA9z73elbfS1tlACc3dux9nWWc8lb8PPYBSiXQb5KZhPsMU Ljcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si935778plv.323.2018.05.10.07.28.29; Thu, 10 May 2018 07:28:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965792AbeEJO15 (ORCPT + 99 others); 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 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5DBBE68819; Thu, 10 May 2018 14:27:56 +0000 (UTC) Received: from treble (ovpn-120-30.rdu2.redhat.com [10.10.120.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C7CED10B0F2F; Thu, 10 May 2018 14:27:55 +0000 (UTC) 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 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 10 May 2018 14:27:56 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 10 May 2018 14:27:56 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jpoimboe@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk 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