Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1626769pxy; Thu, 6 May 2021 11:46:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9Gpy6D5XKH96SHpZBvyvJyCWpqQyIlBLnJYkjaBmvfKlV5f4hO1dxm5VaXaqxZYuM+Fvc X-Received: by 2002:a17:902:d2d2:b029:ee:4684:b64a with SMTP id n18-20020a170902d2d2b02900ee4684b64amr6259682plc.12.1620326802315; Thu, 06 May 2021 11:46:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620326802; cv=none; d=google.com; s=arc-20160816; b=WzUEZJnL0yevUDljxa2GX6DKxoTEsmGO+wLBtiRUHM40CKgzk9m4GXvFEDgLtwrsyH bnoYl8BGvvwfvPZ8nbndik60d4YrCjgAf8fd0sVRDJAfiuT1hLVJ8DjgVeZABxer/B63 31kI3vWqG/UvmDFd1UShMmjygkh3qQfMpXXrau5r4gFEwfQs0E3U6le3Iqlsyq4kX2vn BfPapc0ZY8TLtqXY+Equv1dW7zwTitMptjDRm86jolcEvPTdruykornGS9IKvbQGiM7I JRXnWCRHAV5v7TmwttzlG+O9Pqk0JAbM42avGdpW816hh9/H+IQ7/20WUDmwQ90tW3+C g0Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-filter; bh=38FJmBMm62FNJbAmIqdoifYxsyXAhfVcnNsSEdMBgD0=; b=UZrnoA4AFJaIzNjZ++YLaaq8qYs536lQgKnGmWz540TAzSbRqDbeaQGJlP82zSUUKx D/9iXPrkUZWSsC/jiO9ufyo/B1WXgTSk3kt89KENhyy+gUCNlDFEzQYFQWieJ2qR4jow 1x0O9fsJm5EEsJO/cTZ7EZlRrbWHtbIkuR55TplQ7c3NYD6iePacj5mFzIA8ifZ3dwLG RP07xoWaMQfWWZmRsNUVPv/Q9Fa5ddxDYcMAj3sd7K79BYZU5Xpk9s2eRjQFN88ME6ty waG4EwS7GoiG353NKoFiQ/Ac21UpWhkNYhPUPd4ccDpzXg3560nJjDPzUDIsthLXqATs aCFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=BbcudnTW; 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=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o3si4450637pgu.218.2021.05.06.11.46.29; Thu, 06 May 2021 11:46:42 -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=@linux.microsoft.com header.s=default header.b=BbcudnTW; 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=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235120AbhEFPVh (ORCPT + 99 others); Thu, 6 May 2021 11:21:37 -0400 Received: from linux.microsoft.com ([13.77.154.182]:38232 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235036AbhEFPVf (ORCPT ); Thu, 6 May 2021 11:21:35 -0400 Received: from [192.168.254.32] (unknown [47.187.223.33]) by linux.microsoft.com (Postfix) with ESMTPSA id BC3BD20B7178; Thu, 6 May 2021 08:20:36 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com BC3BD20B7178 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1620314437; bh=38FJmBMm62FNJbAmIqdoifYxsyXAhfVcnNsSEdMBgD0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=BbcudnTW8r91m0v0K6ZtId3NOAYF0iHC2oWz4Ak1nCNi51+ES7ZOm0nmyx40i5cXC ZTW07gTcvVC6MJwR0BfbC+UvozkBqY/AJs3xNtgokGh97WHq2mAOQos1TbbIz3GsMm QkbVo2oH0N9c/dD/sgmUgkooiru1wlGmlBWYwAms= Subject: Re: [RFC PATCH v3 4/4] arm64: Handle funtion graph tracer better in the unwinder To: Mark Brown Cc: jpoimboe@redhat.com, mark.rutland@arm.com, jthierry@redhat.com, catalin.marinas@arm.com, will@kernel.org, jmorris@namei.org, pasha.tatashin@soleen.com, linux-arm-kernel@lists.infradead.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org References: <65cf4dfbc439b010b50a0c46ec500432acde86d6> <20210503173615.21576-1-madvenka@linux.microsoft.com> <20210503173615.21576-5-madvenka@linux.microsoft.com> <20210506144352.GF4642@sirena.org.uk> From: "Madhavan T. Venkataraman" Message-ID: Date: Thu, 6 May 2021 10:20:35 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210506144352.GF4642@sirena.org.uk> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/6/21 9:43 AM, Mark Brown wrote: > On Mon, May 03, 2021 at 12:36:15PM -0500, madvenka@linux.microsoft.com wrote: >> From: "Madhavan T. Venkataraman" >> >> The Function Graph Tracer modifies the return address of a traced function >> to a return trampoline (return_to_handler()) to gather tracing data on >> function return. When the unwinder encounters return_to_handler(), it calls >> ftrace_graph_get_ret_stack() to lookup the original return address in the >> return address stack. > > This makes sense to me, I'll need to re-review properly with the changes > earlier on in the series but should be fine. > I will make changes based on the comments I have received so far and send out version 4 so everything is current for the next round of review. Thanks! Madhavan