Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4467920yba; Tue, 9 Apr 2019 20:38:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQKl/xHgLhw7s4odgxVWkSoD1k2bUMsXhyTtH1rdS8GG0owndotKr0a78ySxw6uVEvYNpX X-Received: by 2002:a63:df12:: with SMTP id u18mr38803528pgg.135.1554867512789; Tue, 09 Apr 2019 20:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554867512; cv=none; d=google.com; s=arc-20160816; b=udBQ1lCPU40XX8qo3c+j4AHEIXmmI/g1dDkYpU6UtR1Mk9eGxgTwwLI58/C4gyMy86 WqT+tW89nDsT6gey60VM6rz3p2HHfAHNYPmDMVDo4G9Mjcyye8T7t7Lez6FY3tcIgrWC GnIQRQnR83Tt8oFetfcQh1GCCj0R91cErTKN5C0S85NReLLQSJr1cMyTL9BDqk2i1azk v14mAeIWQI6dLOJO6iZjw3/9mCJBbOUW7yFOiGro5mKxA0q0MBEjZLT1nDbx/TO08UEW ve5VYg66Dcm0cvcniGaVKm681Dxd/SHnawW5WOTA8LqP36j9IgNMLTvb54yQTFoK+s+/ bHsQ== 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; bh=cajyHPD14aXLsbnfu4U8faUey8RzSLMnEjlfE13s+nk=; b=vR0YZRFERmWt59HgdonggTM9lyTTCS/fZ9xnLfjpWFEVEdmaVIHYZH7X8ZFCDRKxl5 LYVDcROVZdqXZNgjlqx/ALvKIaqfrB4Q8FExm9o8aX2I/hSu7ZJimayJw1EOF016SQLE RDGlOzCp8mCx0H1Ehbl47zecltD8BSVbaK81MJW77WxsY08QfbRx48nWIBz/7hzUwGoY ZKZn7BBmmJj+NPb1LOX3wf08BCHChBh/WKJLjFlSrxxuUw45Udxvotsu9LaLhusREsSe pOUR5sWy9GFAc4i7NjH6kEWd3jofDLAvySkJk8+WkW7oyqMDkptMvGqQlFMLZ4M9Mm6l 9f/w== 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 n3si32858662plb.58.2019.04.09.20.38.16; Tue, 09 Apr 2019 20:38:32 -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 S1727017AbfDJDhf (ORCPT + 99 others); Tue, 9 Apr 2019 23:37:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56652 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726825AbfDJDhf (ORCPT ); Tue, 9 Apr 2019 23:37:35 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3143EF74B5; Wed, 10 Apr 2019 03:37:35 +0000 (UTC) Received: from treble (ovpn-120-231.rdu2.redhat.com [10.10.120.231]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F22E71001DC7; Wed, 10 Apr 2019 03:37:33 +0000 (UTC) Date: Tue, 9 Apr 2019 22:37:32 -0500 From: Josh Poimboeuf To: Ard Biesheuvel Cc: Raphael Gault , Linux Kernel Mailing List , linux-arm-kernel , Julien Thierry , Peter Zijlstra , Catalin Marinas , Will Deacon Subject: Re: [PATCH 0/6] objtool: Add support for Arm64 Message-ID: <20190410033732.ibtpnd36655afpfj@treble> References: <20190409135243.12424-1-raphael.gault@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 10 Apr 2019 03:37:35 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 09, 2019 at 10:43:18AM -0700, Ard Biesheuvel wrote: > On Tue, 9 Apr 2019 at 06:53, Raphael Gault wrote: > > > > Hi, > > > > As of now, objtool only supports the x86_64 architecture but the > > groundwork has already been done in order to add support for other > > architecture without too much effort. > > > > This series of patches adds support for the arm64 architecture > > based on the Armv8.5 Architecture Reference Manual. > > > > I think it makes sense to clarify *why* we want this on arm64. Also, > we should identify things that objtool does today that maybe we don't > want on arm64, rather than buy into all of it by default. Agreed, the "why" should at least be in the cover letter. From my perspective, the "why" includes: - Live patching - objtool stack validation is the foundation for a reliable unwinder - ORC unwinder - benefits include presumed improved overall performance from disabling frame pointers, and the ability to unwind across interrupts and exceptions - PeterZ's new uaccess validation? -- Josh