Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4546259ybz; Tue, 28 Apr 2020 13:20:59 -0700 (PDT) X-Google-Smtp-Source: APiQypKdnvxr/X9U1hImU1SPS0h1GO++gOG5+x/UMkTXUfem6UGg5YnRe3b/dNRB3iSDIxkZ7lDN X-Received: by 2002:a50:f288:: with SMTP id f8mr24619008edm.337.1588105259542; Tue, 28 Apr 2020 13:20:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588105259; cv=none; d=google.com; s=arc-20160816; b=smKyxc8oGQtHwzkP97LFUIazqFbb64zJAf3N76w4cpEiflRI3ApxiH+i/j8FA/l7Ja lI4tI5xgOzDmf4ADGAExojN6Qnj2BKBzX6ndLFFDL3FSuXcrlVIgMWMskKV3gHhTJdLh sxjqfiKZrAqz+KzS/Gc6iXSvSjswyImAizqmBvTC11x2x/xeu2StjtnfOV+TfSXRjQaI gZhBJQDlbHnRF84N8yVEieehxNvGBJghWMohBJwjjhR+fK1z8fjVrqx1oVfxAh8wTiUw kN3Fk536V2CKzyvxL8S7b2pZM9d/ztxOknzBxUsUZITIIXmjDwd1TU8sCTlUfcysjVj6 zP4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=pNaTRGOowlvoNRIeEmlZ9mTD2eu8RhnnExgOmaoGzV0=; b=ExViYyAk3Z+vLtWZzieE6je2D9PAHtG0K7Lo+x67vzqPN1pRYPoHn7v24aqIQ3khAE lACJw+19SCIK7HGTV9kTkjfKu+WreJKsWiOq13nr7qhJ6IQaKEO6NVjc75ugXHFsH3zz qUrhAq9o31243Qiqbx92B4g5az8su+4KTRDveRaR+5FoC/Xu467pMATnoPzqrr+O2L3B KjqyS0xhsE8vd4cTDuL/KOIgPdwDEchpk10WC8UllSL7OCEvqjSqP6Wibnr58pjbCb0d YI/voSxhi90kZrtO4v2Ver2buEyBi9aR8WnJes13GEPMBp0n+A0oOcH1srf9ITGUaUIC nCiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="I9/heIwr"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w24si2263676ejn.277.2020.04.28.13.20.34; Tue, 28 Apr 2020 13:20:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="I9/heIwr"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726353AbgD1USF (ORCPT + 99 others); Tue, 28 Apr 2020 16:18:05 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:57310 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726284AbgD1USF (ORCPT ); Tue, 28 Apr 2020 16:18:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588105084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pNaTRGOowlvoNRIeEmlZ9mTD2eu8RhnnExgOmaoGzV0=; b=I9/heIwrDdX3/DqMXNnmwIFMjwO1q+oE/wmxP8OPBDnSmbnpKqgUDxV7vskIITfogFxz+r DMDYPWGr6AKT//mVaC0RLzxO/sMD7JFfoQiQyN9bPSHWhFeZk86twGFJApuZqhA+jD+WeQ MRYKBruw9Sk+B3dQb5LYyglETImYKkg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-136-PMu2hFzMMxWbx51mksD7FQ-1; Tue, 28 Apr 2020 16:18:02 -0400 X-MC-Unique: PMu2hFzMMxWbx51mksD7FQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 44E768015CE; Tue, 28 Apr 2020 20:18:01 +0000 (UTC) Received: from treble (ovpn-112-209.rdu2.redhat.com [10.10.112.209]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 61B4660D60; Tue, 28 Apr 2020 20:18:00 +0000 (UTC) Date: Tue, 28 Apr 2020 15:17:58 -0500 From: Josh Poimboeuf To: Peter Zijlstra Cc: alexandre.chartre@oracle.com, linux-kernel@vger.kernel.org, jthierry@redhat.com, tglx@linutronix.de, x86@kernel.org, mbenes@suse.cz Subject: Re: [PATCH v2 00/14] objtool vs retpoline Message-ID: <20200428201758.zwi5pfj7bpuvjwnw@treble> References: <20200428191101.886208539@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200428191101.886208539@infradead.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 28, 2020 at 09:11:01PM +0200, Peter Zijlstra wrote: > Hi, > > Based on Alexandre's patches, here's a few that go on top of tip/objtool/core. > > With these patches on objtool can completely understand retpolines and RSB > stuffing, which means it can emit valid ORC unwind information for them, which > in turn means we can now unwind through a retpoline. > > New since last time: > > - 1-3, alternatives vs ORC unwind > - 7-9: implement some suggestions from Julien > - addressed feedback For patches 2-14: Acked-by: Josh Poimboeuf Instead of patch 1, maybe you could grab Julien's patch to drop the useless warning; and also grab the alt_group numbering and the "orig->alt_group = true" bits from Alexandre's patch. -- Josh