Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1164853pxk; Mon, 31 Aug 2020 11:32:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/uUp5ak10H2ZRAI+CxLmfx9PzyQgsIocuv2N7n/MgOMZet5JNZac8Jn6V9Pj9FX5Q0LnC X-Received: by 2002:a17:906:c55:: with SMTP id t21mr2326099ejf.276.1598898779184; Mon, 31 Aug 2020 11:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598898779; cv=none; d=google.com; s=arc-20160816; b=Qu+u9MShYsEX4Cbu/eTOltEQBg/2ox0RcaFJjIqnZwHoDJzZHw8eK2ffKYmYzYdcWM 9AIbbLYshYZZKO+wr+tJLXmkSr/XYTyR0o38Ula2cQgyYF7QpjcWW52WcPqsxsouwvex TcMRcWTdESLRB7dxssEDuk/79aYVXxdK3JLrsWlnWseTXgc6VwXarfF3OKumK7On1Iwr tCp7iDdb8eF/TrHX7EPKPY5zQ0GbISTHboxgDdb4BOzlKPQ1wguFlIijLXk70j7+mwV/ XSujWLDa0j5CoBkR+dupZWHv24/ok41uoE3B8Ssjh53osFB7xQJFSjha5TxM5E/RHGzz SmSw== 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=RxJLlZuQTfe0nzxxsZvFwjkSWTHqtnjzt8kLm8TmuCk=; b=Z+7NLXT67NWg2lt5Vn9fOdyMf4cRQKkI0OPkKvk2i/xu/eL7zBpeaLf79EAHo9Q5Es 8AZe/om6kdXIN4y66NPT7esMRuN8Yo433jipSsOpyWmNNhRHBXq6tf2npFakyKadi0NU 4/rBCvXqGu1BiTPzRNIIt9UJQVR2XUp6bF4JMOdnJE5IkQe811jKJY79Lk/jaNMFXuI9 OFm27CYZkbi0DX/Jf9Y3PRFlbSEtFf7BYFnSIpELSUjzPrb+4krvcTTW9E8hKShFpQow FCV5p3e79T7iG1v+61DGWi3TDg4THSLisAT9Gz9P5y4bZkP1FGZsdcxfBZjQjA04eUad shUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WDX0cwBQ; 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 l14si1725413ejz.622.2020.08.31.11.32.34; Mon, 31 Aug 2020 11:32: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=WDX0cwBQ; 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 S1729207AbgHaSbs (ORCPT + 99 others); Mon, 31 Aug 2020 14:31:48 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:55299 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726174AbgHaSbr (ORCPT ); Mon, 31 Aug 2020 14:31:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1598898707; 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=RxJLlZuQTfe0nzxxsZvFwjkSWTHqtnjzt8kLm8TmuCk=; b=WDX0cwBQCI8wAmWP8j7BEqB/sz8s5TI3QQGf6YTP0EprCalJoL4KLkyWKV2lvvWDI2D3sn R2FzNpODhhzED5O8WWsHVyZbx3FTJwHJycv+zl5i8UjFoerZZjWz+jVek5A0Aep4FgkcQN OmKopjGz1iiNXFKZ5698XAeX2vnzrgc= 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-566-9T-JruPWPqiJYtb7vtNn6A-1; Mon, 31 Aug 2020 14:31:45 -0400 X-MC-Unique: 9T-JruPWPqiJYtb7vtNn6A-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 E43FB1084C81; Mon, 31 Aug 2020 18:31:43 +0000 (UTC) Received: from treble (ovpn-114-37.rdu2.redhat.com [10.10.114.37]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3AFEB7A41A; Mon, 31 Aug 2020 18:31:42 +0000 (UTC) Date: Mon, 31 Aug 2020 13:31:40 -0500 From: Josh Poimboeuf To: Julien Thierry Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, mbenes@suse.cz, raphael.gault@arm.com, benh@kernel.crashing.org Subject: Re: [PATCH v2 8/9] frame: Make unwind hints definitions available to other architectures Message-ID: <20200831183140.xxadcua3ggldbo6q@treble> References: <20200730094652.28297-1-jthierry@redhat.com> <20200730094652.28297-9-jthierry@redhat.com> <20200730145613.lbsexjcqwj67ktmb@treble> <12615fa7-8ba9-1daa-f648-644bf16110f2@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <12615fa7-8ba9-1daa-f648-644bf16110f2@redhat.com> 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, Aug 25, 2020 at 01:12:04PM +0100, Julien Thierry wrote: > > > On 7/30/20 3:56 PM, Josh Poimboeuf wrote: > > On Thu, Jul 30, 2020 at 10:46:51AM +0100, Julien Thierry wrote: > > > Unwind hints are useful to provide objtool with information about stack > > > states in non-standard functions/code. > > > While the type of information being provided might be very arch > > > specific, the mechanism to provide the information can be useful for > > > other architectures. > > > > > > Move the relevant unwint hint definitions for all architectures to > > > see. > > > > The scope of include/linux/frame.h has been creeping, it's no longer > > just about frame pointers. Maybe we should rename it to objtool.h. > > > > I missed this comment until now, sorry. > > The name "objtool.h" might conflict with tools/objtool/objtool.h. What about > "objtool_utils.h" or "objtool_defs.h" ? There shouldn't be a conflict: objtool doesn't include kernel headers directly; and even if it did need a copy (in tools/include/linux), it would be referenced as instead of "objtool.h". -- Josh