Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2874592pxa; Tue, 25 Aug 2020 05:55:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwtPz7niCuDyPw32VZy+kxuYb+PSP4kPT9f25s31VC2iq4/bnY9ByDaWEYuUwIcNmYUyBz X-Received: by 2002:a50:f701:: with SMTP id g1mr10594874edn.54.1598360153307; Tue, 25 Aug 2020 05:55:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598360153; cv=none; d=google.com; s=arc-20160816; b=Zc/Ap/nFOeI66xWtILIlpjG1fTDPaKvDk9EqKMEIHgsBRdaG/243xxgRx+tR+6ETiC NQgb/7dH6mA3ZGbnTtsrgDRwFog1ULs9pCff7YIz00yGWLwa1rh4IAZYDM3RvQDMA/ad YsSh0S0RSJfpJAnSzRRg0XxknLfccW/sX+9fMGCWTOPNR6PpWqgeBWBHuZ1jE6oNepUi gFJHIA+UqDazk7WrWGdyXmowRCznXX17HJzghOdiFfs7FmeQYixdKgOBrFZ6sfbCVoaR WGvrsI6XrogGdy+ynm2KsllMFmB493FXTKLsdlFPmvzI4wQxzo9lJzr6cQV7uHTsYtbj oSxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=upnq8NEVm+7U4uzaDHupvA1NaUQYK9efVkZAiFGd+EI=; b=heW2mrM6bVKyXCbtnOjJUzs8z5I1IVSymIujNt9Z/e2l0EWM9dMEVSh/ful1Xgf/Hm 68vGadumdREJUjk4MN08xmK6wZRBY7BFlbzULmuHcKSfnQZyJIUX+/IgcqnzwF288Vrc PywZviIsgAfkXdaszF7T8IeTJlhmTm/x/ARowV1C9ZLDz/h81LSM54lX2dl02eEolTSP U9xKAMaBEZIqhBsO4grByci3HIOz3N4gNxbHggn/29+1et7LEzU3Reg/OjW0Wd7zFBFs b+V9gnz6JPl1xEd18VdRZgL6HvB2wjrbblskW1xTfdEaPHSYErAbTVPIYDio5/EGPtMU ggVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IekHNPFe; 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 qh23si2449398ejb.504.2020.08.25.05.55.30; Tue, 25 Aug 2020 05:55:53 -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=IekHNPFe; 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 S1730206AbgHYMMZ (ORCPT + 99 others); Tue, 25 Aug 2020 08:12:25 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:27562 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730204AbgHYMMN (ORCPT ); Tue, 25 Aug 2020 08:12:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1598357528; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=upnq8NEVm+7U4uzaDHupvA1NaUQYK9efVkZAiFGd+EI=; b=IekHNPFeUAluz9WSVhURfySD6QxQMzOQ15E0DcuQgOx8WMBVksDqVzXQxXSEW6OIWaRoMe UPcRj7GoSdoK+MgqT0B/oZWScikiS8ieE741zlIzLz7fiXABPw1xZ3q2F441YZZn7cHzaH +vMc4VSgDsUmPB/aKD/omLCe0qaVLzw= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-361-_DVrOnUDPDKKxYnVT8Vqdw-1; Tue, 25 Aug 2020 08:12:06 -0400 X-MC-Unique: _DVrOnUDPDKKxYnVT8Vqdw-1 Received: by mail-wr1-f70.google.com with SMTP id w2so4838459wrr.19 for ; Tue, 25 Aug 2020 05:12:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=upnq8NEVm+7U4uzaDHupvA1NaUQYK9efVkZAiFGd+EI=; b=Y5aegRh/k9KZuxCja/hnhpjbCQgVK5oQRLJ9bdbCJi4PP92h0vdfupJwMs84GZz/tP KOeXLuBnclHEG/NBI3hUW1IszUkbp4qgGX2IE1bhPW9ndzaafLsjxhNW+jMXdaggmN5d ld7Zs0ZXyE/oUcrlZs6KGSWAiWBPXoizJVRaPqgMfxEu+iT+9LmfILsWPEs/8lsqQAbL 7UYUSINIcdT5crGV9WBc6Xx/j28R4tzjXnT5fENpIyqmvKVnqMgL8Rzp3N9svM5qWMpI 7YUDClf13mh6AQERRhG02Ul1cfFmjO6d7r8CHRF9b840gx3EK61o/+VEhH/DThEWGaQL YE3Q== X-Gm-Message-State: AOAM5311tmeH6a2hSTCIaqzzwLlGLfwS1X/ENNVd+cVSEFucO2oA/eFS JMCqSq484CAtMxaO2tSr+u5z5P+VBm2X9hVzTpmzd8BE0HKabCgS3AXKkFbIxGzjeZOWNsTBGnx j8YL752L/MZelzVCE8Nu+CsG1 X-Received: by 2002:a1c:f402:: with SMTP id z2mr1713578wma.87.1598357525844; Tue, 25 Aug 2020 05:12:05 -0700 (PDT) X-Received: by 2002:a1c:f402:: with SMTP id z2mr1713558wma.87.1598357525673; Tue, 25 Aug 2020 05:12:05 -0700 (PDT) Received: from ?IPv6:2a01:cb14:499:3d00:cd47:f651:9d80:157a? ([2a01:cb14:499:3d00:cd47:f651:9d80:157a]) by smtp.gmail.com with ESMTPSA id j8sm10280508wrs.22.2020.08.25.05.12.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 Aug 2020 05:12:05 -0700 (PDT) Subject: Re: [PATCH v2 8/9] frame: Make unwind hints definitions available to other architectures To: Josh Poimboeuf Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, mbenes@suse.cz, raphael.gault@arm.com, benh@kernel.crashing.org References: <20200730094652.28297-1-jthierry@redhat.com> <20200730094652.28297-9-jthierry@redhat.com> <20200730145613.lbsexjcqwj67ktmb@treble> From: Julien Thierry Message-ID: <12615fa7-8ba9-1daa-f648-644bf16110f2@redhat.com> Date: Tue, 25 Aug 2020 13:12:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200730145613.lbsexjcqwj67ktmb@treble> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" ? -- Julien Thierry