Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp68822lfe; Fri, 15 Apr 2022 19:58:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfiH7O6zyu5Fko3arEflI2FKa4l4ciyBof0iOgjQc2lBHosyvVQr0+KqDkjfVHVrNPzugP X-Received: by 2002:a05:6a00:21c2:b0:4fe:81f:46c7 with SMTP id t2-20020a056a0021c200b004fe081f46c7mr1748472pfj.5.1650077895957; Fri, 15 Apr 2022 19:58:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650077895; cv=none; d=google.com; s=arc-20160816; b=cGyzF9piRT/sdP1FYMrseMjNJ80yCRKvq/d5l3PxfV2Un2IqiJ6wM6vdZciK0kfgkZ JRMPTRJTQjxW7qaBAw0+KYJQ8trROeWRAMn84aZ0qhPJLPYHwhE4HV8rNj/KYGPrUWQl Om3vraIJLq0V4uKuAB5CYvB7xsjgGtLorglyA5ZELuMm17u7WIobkHm4OjfLq4D2nwK9 BD6JFAXg1fFvRdELdrSeRkACJxoJQv5pLINxGOwkmpAkXBkgyZIiWZT0cd+6IW81Csbd R+OS5n1VWOjQMqcGBJOPtVy3uChkZhY06P8fyWYQGvYHNjnmtOVf+rJBR2v3WEh4qEin tfhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WHdkIGOQ4zsXGJMmIQm5BnGhIzeJfdILazCRmHTjv9o=; b=qRxB+Y6eaYPdloCbCC8lSfP6ri/j0f+iflk8kvlg3PmYErfkqcL/2j15t5yOPr+wNl fjxgdhm7ot4AselTN/VzCdSS1sNjE2zCiY5eISJDr9rmov1+Tt4uUbgytpCiLFEaZ6vP P2RGfkoJyEpJGfjWj8HS++dH4uqI0Pr64E6KF6ZrQy6SX9hsxAKOP80BoJfY6RKEwumZ VSIV0Ra5Kx7bZha/o7/QoRj5bdk5eZ04Iz7555JCQga5ct62+TgCWmNA72/+GQx0u4yI 803OHbtafsCWQii3LDaE4/AIaQljYjjSd1KJXMqCpZwNoRo7PiZuAcw3X56w8wgWg5RS ZMUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Itj6Umry; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s6-20020a056a0008c600b004fa8832da6dsi3537954pfu.76.2022.04.15.19.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 19:58:15 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Itj6Umry; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D8DBFB08; Fri, 15 Apr 2022 19:20:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229890AbiDPCWt (ORCPT + 99 others); Fri, 15 Apr 2022 22:22:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229873AbiDPCWd (ORCPT ); Fri, 15 Apr 2022 22:22:33 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0F6F259A5C for ; Fri, 15 Apr 2022 19:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650075602; 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=WHdkIGOQ4zsXGJMmIQm5BnGhIzeJfdILazCRmHTjv9o=; b=Itj6UmryGVlGsZCDpuFP5eolcQGeqHyYiUUM18a7ivRvEukXJkUp0SBnk/5naAKMxfDfdg 3ZWiQYH77kSK8g6pIYAH+1pUsK1pISesH4uKeeW74/EJyEz9uU8AVqWAwux4vV1jRuZQwH xTETAPU/WxXdsx3s5RqFL//QMGRP5Dc= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-241-5ZrlfmDYOhG_DXlc3WHTKQ-1; Fri, 15 Apr 2022 21:07:55 -0400 X-MC-Unique: 5ZrlfmDYOhG_DXlc3WHTKQ-1 Received: by mail-qt1-f197.google.com with SMTP id u29-20020a05622a199d00b002e06ae2f56cso6118328qtc.12 for ; Fri, 15 Apr 2022 18:07:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WHdkIGOQ4zsXGJMmIQm5BnGhIzeJfdILazCRmHTjv9o=; b=k5xFtcnJwv/Yxm+V8qwY3KgZPiziITKdkRqMdPnRJ602vFbB5N2BeIPLJFAT/WQsoX UkJF+xTDaw6aPwSTd8uzbnf0RQzvsPqXyluuauBWYPEVFuBQrOxLLzvQBvItKGh310ht KGhgwQp7KBJlMwGUM2F3ms44L8XmyizTGX+P8WpSX00M2xt5joEpiTUMKTavnIG6aCn9 Qd7xDl2EoueSCqQoyBHGCMUM0OSAB5bXFp8GTH+ucOQ53VAkh737l4+WKH0IiMeer9xj xkljNlmUnZEYMOOJkOBcSOg3ip1D7PX6Iy0oaprKDLCqKGUwsucQfEc31xgUvcFGP9/M qgMw== X-Gm-Message-State: AOAM530c1wWD3dw9fZ+SNFg58YWx7ySzxQGvz1+EyqNqQVaxyXakUBO/ la66PZLf5uGUZrCJIaFZRPuY9S4ya66tep71f8DEhKCoss2DWzfVlBZTF+fS5K9y/n+PHbwVuzJ mOXgjN0w42OYZYZNQLiWi9lOA X-Received: by 2002:a05:622a:52:b0:2e2:3248:c8 with SMTP id y18-20020a05622a005200b002e2324800c8mr1114942qtw.519.1650071274681; Fri, 15 Apr 2022 18:07:54 -0700 (PDT) X-Received: by 2002:a05:622a:52:b0:2e2:3248:c8 with SMTP id y18-20020a05622a005200b002e2324800c8mr1114931qtw.519.1650071274442; Fri, 15 Apr 2022 18:07:54 -0700 (PDT) Received: from treble ([2600:1700:6e32:6c00::45]) by smtp.gmail.com with ESMTPSA id k66-20020a37ba45000000b0069c5adb2f2fsm3321870qkf.6.2022.04.15.18.07.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 18:07:53 -0700 (PDT) Date: Fri, 15 Apr 2022 18:07:50 -0700 From: Josh Poimboeuf To: "Madhavan T. Venkataraman" Cc: mark.rutland@arm.com, broonie@kernel.org, ardb@kernel.org, nobuta.keiya@fujitsu.com, sjitindarsingh@gmail.com, catalin.marinas@arm.com, will@kernel.org, jmorris@namei.org, linux-arm-kernel@lists.infradead.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v1 0/9] arm64: livepatch: Use DWARF Call Frame Information for frame pointer validation Message-ID: <20220416010750.cuf7tf5dgd434kac@treble> References: <95691cae4f4504f33d0fc9075541b1e7deefe96f> <20220407202518.19780-1-madvenka@linux.microsoft.com> <20220408002147.pk7clzruj6sawj7z@treble> <15a22f4b-f04a-15e1-8f54-5b3147d8df7d@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <15a22f4b-f04a-15e1-8f54-5b3147d8df7d@linux.microsoft.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 11, 2022 at 12:18:13PM -0500, Madhavan T. Venkataraman wrote: > > There are actually several similarities between your new format and ORC, > > which is also an objtool-created DWARF alternative. It would be > > interesting to see if they could be combined somehow. > > > > I will certainly look into it. So, if I decide to merge the two, I might want > to make a minor change to the ORC structure. Would that be OK with you? Yes, in fact I would expect it, since ORC is quite x86-specific at the moment. So it would need some abstractions to make it more multi-arch friendly. -- Josh