From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E929BC04EB8 for ; Thu, 6 Dec 2018 15:56:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AD653214C1 for ; Thu, 6 Dec 2018 15:56:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jv+AiAwL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD653214C1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pRmIZ/Q40uW7imjY9ltuTmLemxI/EyHCrsJ1zLjXRXM=; b=jv+AiAwLHOi9Rr CD7jfEA6N2BY7rkLuAyBoJn41uWH+ucOEeNCXWlpAKRsW3aPrpWWRqrT9qLG0jksLDJcB4ze8bEfX VPhd2sgrpAyLVktfEgjjTpIEnzq6f4W0jeKMx6A49rrbUu1dJmyCPPGxNACabJsCc6YYdwWwoz4OW UyUTWEzbLxEQVappbbVTsZLSuUOF63DKzqdUCrSvvSaYyP47+G2K56cn2v7N51/bCtbOBdn90IBx9 4A/fDalI2chiTiY8COS5nM/X3csFwM6iWkouTbIiyEz2XVZVYMo4EJ7gFqQnjETpCKVpr+ykWKPDW TTozU/EBr9JQ3hs/FWng==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gUw0O-0002K6-5W; Thu, 06 Dec 2018 15:56:00 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gUw0J-0002Gp-Tw for linux-arm-kernel@lists.infradead.org; Thu, 06 Dec 2018 15:55:57 +0000 Received: from vmware.local.home (unknown [208.91.3.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D5CAD214C1; Thu, 6 Dec 2018 15:55:44 +0000 (UTC) Date: Thu, 6 Dec 2018 10:55:41 -0500 From: Steven Rostedt To: Will Deacon Subject: Re: [for-next][PATCH 05/30] arm64: function_graph: Remove use of FTRACE_NOTRACE_DEPTH Message-ID: <20181206105541.0120d556@vmware.local.home> In-Reply-To: <20181206154931.GA4327@arm.com> References: <20181205234749.372720574@goodmis.org> <20181205234829.164618323@goodmis.org> <20181206154931.GA4327@arm.com> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181206_075556_125860_C7533109 X-CRM114-Status: GOOD ( 16.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tom Zanussi , Catalin Marinas , linux-kernel@vger.kernel.org, Ravi Bangoria , Masami Hiramatsu , "Joel Fernandes \(Google\)" , Namhyung Kim , Andrew Morton , Ingo Molnar , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 6 Dec 2018 15:49:32 +0000 Will Deacon wrote: > On Wed, Dec 05, 2018 at 06:47:54PM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > Functions in the set_graph_notrace no longer subtract FTRACE_NOTRACE_DEPTH > > from curr_ret_stack, as that is now implemented via the trace_recursion > > flags. Access to curr_ret_stack no longer needs to worry about checking for > > this. curr_ret_stack is still initialized to -1, when there's not a shadow > > stack allocated. > > > > Cc: Catalin Marinas > > Cc: Will Deacon > > Cc: linux-arm-kernel@lists.infradead.org > > Reviewed-by: Joel Fernandes (Google) > > Signed-off-by: Steven Rostedt (VMware) > > --- > > arch/arm64/kernel/stacktrace.c | 3 --- > > 1 file changed, 3 deletions(-) > > > > diff --git a/arch/arm64/kernel/stacktrace.c b/arch/arm64/kernel/stacktrace.c > > index 4989f7ea1e59..7723dadf25be 100644 > > --- a/arch/arm64/kernel/stacktrace.c > > +++ b/arch/arm64/kernel/stacktrace.c > > @@ -61,9 +61,6 @@ int notrace unwind_frame(struct task_struct *tsk, struct stackframe *frame) > > (frame->pc == (unsigned long)return_to_handler)) { > > if (WARN_ON_ONCE(frame->graph == -1)) > > return -EINVAL; > > - if (frame->graph < -1) > > - frame->graph += FTRACE_NOTRACE_DEPTH; > > - > > Acked-by: Will Deacon > Thanks Will! -- Steve _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel