From patchwork Mon Jan 9 13:58:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Rutland X-Patchwork-Id: 40883 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2170454wrt; Mon, 9 Jan 2023 06:00:48 -0800 (PST) X-Google-Smtp-Source: AMrXdXuhOR7dKtYA5AoQ3lA8AjdcosmarK9mDCRCwfDrCbxb0kmRWuSFALyTZpoTyb+dDLR5Cj1r X-Received: by 2002:a17:902:7c0f:b0:193:213:9bf0 with SMTP id x15-20020a1709027c0f00b0019302139bf0mr12607744pll.49.1673272847801; Mon, 09 Jan 2023 06:00:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673272847; cv=none; d=google.com; s=arc-20160816; b=UZsRBxvNHH/It/2BGdIoY7C/fEx8dSTgVMWOwCN8+AHRA6oHxXF6pDo36uXuE68Nxv O9RScSVBJvVryQHEoSmdnCDhlv91PBSYdrqypwVzGG4uNBT9UHn239Tj9GptdI0UYX8P EDD5YtRNeX7ju7Zbbde+bLjdm3Ot5HNZfp+TNpXCjWWlde1jqFgFYIwGJlUCwiNoPDWO bdoYAkSbP/6/xs9oCMJb89mvNaNZIF6p9T9AgJDiGqSd4aqahSYR6tkwoSCY+KdZCtO1 AqdSxkJwSFg2nIirFQ6HuOZHg/G2YF5O4CPHXKCi0mkofIEstM85uJXuWrgXGveB2n6y UR5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=hlvV2LLN1KwIHT8cIfouPzKE00Mk5FgVfeJmB18QM5c=; b=QqfY5rvxwK4RVHdFu4Pber60PadBYBJEzBNBaBUUpr0IBXC0q5RIBGuCMdWxTlpTBT yIYKa2yva9mexfIxp6ioN5yfzzZhLz323Q4woaWS45P95S5BVG64odITVegry+9zwkD6 Xd5i1guQvZKBmwUu2FSF3KDC0I17mqNfLPJzEJYnvD1p+syPgQQkBMYIBtfjQkfItwqW i1bdJKCEBwIEKpyP6LoR4KYt2dVgapjzEX9dpWB8zXcJ7KroBnDjRBOBQU7w/8uQWC1S sXPhvvgMZyRrS3qQMQB/6yRN5u41KVr9sLInphQFMg3Prc44VqMpyOKUURAO92Q7N79p tYfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j3-20020a170903028300b00188b9b4139asi6480210plr.210.2023.01.09.06.00.32; Mon, 09 Jan 2023 06:00:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233715AbjAIN7R (ORCPT + 99 others); Mon, 9 Jan 2023 08:59:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236492AbjAIN65 (ORCPT ); Mon, 9 Jan 2023 08:58:57 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9090DF6F; Mon, 9 Jan 2023 05:58:56 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5558C1A25; Mon, 9 Jan 2023 05:59:38 -0800 (PST) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7FEEF3F23F; Mon, 9 Jan 2023 05:58:54 -0800 (PST) From: Mark Rutland To: linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, mark.rutland@arm.com, mhiramat@kernel.org, ndesaulniers@google.com, ojeda@kernel.org, peterz@infradead.org, rafael.j.wysocki@intel.com, revest@chromium.org, robert.moore@intel.com, rostedt@goodmis.org, will@kernel.org Subject: [PATCH 7/8] arm64: ftrace: Update stale comment Date: Mon, 9 Jan 2023 13:58:27 +0000 Message-Id: <20230109135828.879136-8-mark.rutland@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230109135828.879136-1-mark.rutland@arm.com> References: <20230109135828.879136-1-mark.rutland@arm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754553749577475464?= X-GMAIL-MSGID: =?utf-8?q?1754553749577475464?= In commit: 26299b3f6ba26bfc ("ftrace: arm64: move from REGS to ARGS") ... we folded ftrace_regs_entry into ftrace_caller, and ftrace_regs_entry no longer exists. Update the comment accordingly. There should be no functional change as a result of this patch. Signed-off-by: Mark Rutland Cc: Catalin Marinas Cc: Florent Revest Cc: Masami Hiramatsu Cc: Peter Zijlstra Cc: Steven Rostedt Cc: Will Deacon --- arch/arm64/kernel/ftrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/ftrace.c b/arch/arm64/kernel/ftrace.c index b30b955a89211..38ebdf063255b 100644 --- a/arch/arm64/kernel/ftrace.c +++ b/arch/arm64/kernel/ftrace.c @@ -209,7 +209,7 @@ int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) * | NOP | MOV X9, LR | MOV X9, LR | * | NOP | NOP | BL | * - * The LR value will be recovered by ftrace_regs_entry, and restored into LR + * The LR value will be recovered by ftrace_caller, and restored into LR * before returning to the regular function prologue. When a function is not * being traced, the MOV is not harmful given x9 is not live per the AAPCS. *