Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1865095imu; Fri, 14 Dec 2018 01:48:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/W9kCedOMFX0OIxxocMh650ZEIkKZBFjT1TMet2V3nwLDUJKwdkA2uuPkZEpo6+ne0Mar8e X-Received: by 2002:a63:9256:: with SMTP id s22mr2038085pgn.224.1544780902750; Fri, 14 Dec 2018 01:48:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544780902; cv=none; d=google.com; s=arc-20160816; b=l31ieJ2yBnRLa4pVZrlSMUei630NlrqNn8nhcVpk0wVj8WafDZtEGbdsMDaBzsqAIP Y2S7OBermvsv1XRplY5ZVx7XuWmdQdjArQtw/fHmn4DA21wjHQgahTT5amJN0hegM33L SmZkwO9MTvpsBw6G4xObhzFLfHTg4Ut1TGOR7MlfikxtQoajlcU4K/UQfis9jyNS7chg KBtQiIEy6wouHTZs3EMqa37x7Cj1xw9cQ+Bhu1WBOCuXwLkF+1GXdOYp8PVqVUi7yJep VOMF7lHVFLVGUcU++rl6zPITOT+ilq1OCpv9oexeY2O2GBZYo8535bRzdi87wzVS6rCj eoWw== 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=0QemGwBS0hogGIRZUr1LxgFLbm/20eSOLbrDSDAqrK4=; b=uBeM9FxBKbXrpOgY3apYikSQD0ySdHr5KNnrDBYRQXrBPECTHYXMN9YplM1t218Zmo UkboLoXpDOxerxY0Q3P34qHDdWNdQzvcG2RSGEdCAtxbVBxO25RqFSbxQpNwjezi1d5C /4z69vgHCrFleiwUFYwLUoqqmQcsi7Gy31Q8OAyL0z+bfV4m+zTAc053rNtCRhOTRscE gyOqEA8zAZ8/dtYwn+p+TrXlsgfLLsNhTXpU+T/OkcrlGBD6wHIVOOFdo7GERF9NxluG SNHaDuMW1X4G3YSfgqdng3kTkbsaDAi6ZOT3kT3FJT3MKY32ptwaJVNSGcwhDgFDcweB 0uYA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o16si3767723pgd.117.2018.12.14.01.48.06; Fri, 14 Dec 2018 01:48:22 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728799AbeLNJrP (ORCPT + 99 others); Fri, 14 Dec 2018 04:47:15 -0500 Received: from verein.lst.de ([213.95.11.211]:46142 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726494AbeLNJrP (ORCPT ); Fri, 14 Dec 2018 04:47:15 -0500 Received: by newverein.lst.de (Postfix, from userid 2005) id 192B468DDD; Fri, 14 Dec 2018 10:47:14 +0100 (CET) Date: Fri, 14 Dec 2018 10:47:14 +0100 From: Torsten Duwe To: Amit Daniel Kachhap Cc: Will Deacon , Catalin Marinas , julien.thierry@arm.com, rostedt@goodmis.org, jpoimboe@redhat.com, mingo@redhat.com, Ard Biesheuvel , Arnd Bergmann , takahiro.akashi@linaro.org, LAK , linux-kernel@vger.kernel.org, live-patching@vger.kernel.org Subject: Re: [PATCH v5] arm64: implement ftrace with regs Message-ID: <20181214094714.GA30043@lst.de> References: <20181130162015.83FE767357@newverein.lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 13, 2018 at 11:01:38PM +0530, Amit Daniel Kachhap wrote: > On Fri, Nov 30, 2018 at 9:53 PM Torsten Duwe wrote: > > Hi Torsten, > > I was testing your patch and it seems to work fine for function trace. However > function graph trace seems broken. Is it work in progress ? or I am > missing something. What did you base your tests on, you didn't specify? OTOH neither did I ;-) I precluded all addressees had the full picture. Precisely, I basically start with 4.19, but 4.20-rc shouldn't make a difference. BUT... > > [Changes from v4] > > > > * include Ard's feedback and pending changes: > > - ADR/ADRP veneers > > - ftrace_trampolines[2] > > - add a .req for fp, just in case " [PATCH 1/2] arm64/insn: add support for emitting ADR/ADRP instructions " <20181122084646.3247-2-ard.biesheuvel@linaro.org> et.al, esp: Git-commit: bdb85cd1d20669dfae813555dddb745ad09323ba > > - comment on the pt_regs.stackframe[2] mapping > > * include Mark's ftrace cleanup > > - GLOBAL() > > - prepare_ftrace_return(pc, &lr, fp) > > " [PATCH 1/6] linkage: add generic GLOBAL() macro " <20181115224203.24847-2-mark.rutland@arm.com> et.al., esp: Git-commit: 7dc48bf96aa0fc8aa5b38cc3e5c36ac03171e680 change the API this patch set relies on. AFAIU they are on their way into mainline so I updated v5 accordingly. If you don't have these, just use v4; the other changes are only for compatibility and cosmetics. HTH, Torsten