Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4501321ybz; Tue, 28 Apr 2020 12:25:36 -0700 (PDT) X-Google-Smtp-Source: APiQypJRA6NW5oXFtRJRLTnU+pevEaSBWin2cJ03N9dzockrSk5lR0Ahd/QOkXdvJPu3yGi4S2AQ X-Received: by 2002:a17:906:829a:: with SMTP id h26mr25412470ejx.133.1588101936096; Tue, 28 Apr 2020 12:25:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588101936; cv=none; d=google.com; s=arc-20160816; b=Z/+GTq0vfdzZNK5kvypYoF3iRun+F634jpZw5Fa0vIaLvcNmFLYDUrFrKd4GhJUc3c PZEnVKpGAqW1ZopjYldqT6ecNfOZSBTCqtsQ5pFyccbhByEymLUQfbVLcUGOxU8Pexz1 fer23/tdnQea+YpwPIR8tnXlZxmXd8nMxi+LnHYtEwKXHM5FjfOsMGwo91AzG6L8fpWl vTr+xYscTKtufIisjWop0bismhWq19ZuHzPRwfFgvouRUz2sLcx29jqAqx7Ps0u0+T8c gYkj/rLSsJUTXt6cjnfbOIkIPDLUKweWd1rZz/UsigeFNOgEbFRDENowgzpyfC3/fxMd jNWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:cc:to:from:date:user-agent :message-id:dkim-signature; bh=oo3F4ycdV+8X3hUQQNbmoBn9z4PcruBrfKQLlDmIMm8=; b=sq7KYWIRrxF1xqmdJpeF4N4jO0PmdyTBkdstn7qW44735ntC7SW3cYN/ot4eSdRbU0 dTpdXQ+gbLiU5Y5YiMW8qQWQ175e98nFPSOu5acuIPngLO5nYAqkPSQbh+5q8/nKUwH1 7adDRpPsEr2QlC0i6upELisEPeIWFw9l0tJE746izsRl0EmKwZwXhf5S0aMsUb8zLJpT zQ6qo7coOh83ldcbEd6NUAaoYKV5K8IPKwTsbGC56k2leCnHP5HTqsJ0AWX7+rzC678m CeYWKZs4Tpna6ZlOpZynUfli70hTX08LUrQP94v2ytNXwlv9KVQY7+qNyaup3PlzWLLd 8CSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=tgSIhgTC; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t26si2065452edw.567.2020.04.28.12.25.12; Tue, 28 Apr 2020 12:25:36 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=tgSIhgTC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728987AbgD1TTw (ORCPT + 99 others); Tue, 28 Apr 2020 15:19:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728460AbgD1TTu (ORCPT ); Tue, 28 Apr 2020 15:19:50 -0400 Received: from merlin.infradead.org (unknown [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40C35C03C1AB for ; Tue, 28 Apr 2020 12:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Subject:Cc:To:From:Date:Message-Id: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=oo3F4ycdV+8X3hUQQNbmoBn9z4PcruBrfKQLlDmIMm8=; b=tgSIhgTCVengHYBIB/NZAOGqpH HaPy86tqq9DW/Gu5NFI94E7Rmmn4qvIKJmPIOMXWRg8dpa/iSPl0CV6+BTXHy4IWa7+DKiCqvrnZh bOMVJ57JJvryNf4JGBaEK2WpyXKHsBTwLSZ1wgJYkjWkVB5CCUFxU0RKNGPP1w5JrnFZrfRHaLHom P7mra4rLeYnksxEBWlgcrH19XBlga4vqtZ/lyGtyg+KbgEdHpfM1bYZIJ8Ae/mZXR612Wuh9OrRq+ Oozsf9ENYTKB9pCTo5CHyezzOed7FAjtkNRHoNhO2gVr4s/+HJ3XzQ4xML77I+LSuz8U8Fi5YVxms wufmvJHA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jTVlP-0007kq-Ug; Tue, 28 Apr 2020 19:19:28 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 858863074EB; Tue, 28 Apr 2020 21:19:26 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 0) id 7648925D0130F; Tue, 28 Apr 2020 21:19:26 +0200 (CEST) Message-Id: <20200428191101.886208539@infradead.org> User-Agent: quilt/0.65 Date: Tue, 28 Apr 2020 21:11:01 +0200 From: Peter Zijlstra To: jpoimboe@redhat.com, alexandre.chartre@oracle.com Cc: linux-kernel@vger.kernel.org, jthierry@redhat.com, tglx@linutronix.de, x86@kernel.org, mbenes@suse.cz, peterz@infradead.org Subject: [PATCH v2 00/14] objtool vs retpoline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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