From patchwork Fri Jan 13 18:03:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Rutland X-Patchwork-Id: 43538 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp416303wrt; Fri, 13 Jan 2023 10:19:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXsKSESTMdr3I/fZQXw1EkrfF7DFtwFxsKCpeLXfqsP4QAh8orufq3K4PrIu7fn4jBUy1JMK X-Received: by 2002:a17:902:9e16:b0:193:38ef:10cf with SMTP id d22-20020a1709029e1600b0019338ef10cfmr18459952plq.29.1673633977393; Fri, 13 Jan 2023 10:19:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673633977; cv=none; d=google.com; s=arc-20160816; b=Tol9UMvnHNoUBHMWVMDHTsZ8ZLZhQSOKMP/9qGoJVdP8ntphVDVyikBSLDa7jOqSqo /3fuoCI5/NBhxu8qPFbBILe9lNunJjb4hmz5dEo3nQq+rb14K4vUXBN2w8Z8pqhVXXd5 K+5EyTCTMEHbx6JarzOr5OfxBzetpmt6FcRnHwIrmS4o+b/oNeDNRdjWfJHXSHpoyZjO 42OQhRfAuQD0Chq9fhn1syWN07JpVHkTnlbdS2y+CnGEDNyChFRfwnenRCPq/AUdXaSO ZhkjFEG7mNWoOkh+WSsLhSNWfQ8yeE6oRRLs7/VteVCBTydTbryt2EIxGO/tJlVDTIaG dxVA== 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=RRSnuqCKv+j42etw0XMfqoFMNNzBqzNqwZUI5P16PMY=; b=KRkFNPfdQw3KneRTQd6fvTYlqwEkUtLhTxHXmuxq2LlKoB+mTQZgDRpatM8u0RmU4t ntHmnZ5pQiTPsLlrqRrmu3pI9gmIf3YERz0/+oWNlRHAAAhnVNEvnO0kl8/vP1ZcZxTU 2EOcqVBGdJlDMT/NHyGaQlUIjLTIyC/ltocdci7l+cUCHol0TX6AmLAtaU2uG+kAWmwc 3EMS1dLrShqY+tUDi7SxrPHrvUGDSoCkd6IIVgPIhp73gMM9bfCt4N2ZJBo6gqMX+13C FcX2Pje9LjI4l0IeGROw6vCAxSsRgGVZ1dsc1NpWNgQ53ggC4Ay4Ryrf6NizwkiDtykt sfxw== 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 k6-20020a170902c40600b001914601fe68si24734095plk.164.2023.01.13.10.19.25; Fri, 13 Jan 2023 10:19:37 -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 S230202AbjAMSOJ (ORCPT + 99 others); Fri, 13 Jan 2023 13:14:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230088AbjAMSNQ (ORCPT ); Fri, 13 Jan 2023 13:13:16 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4A527A701D; Fri, 13 Jan 2023 10:05:16 -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 879DD19F0; Fri, 13 Jan 2023 10:05:06 -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 811343F67D; Fri, 13 Jan 2023 10:04:22 -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 v2 7/8] arm64: ftrace: Update stale comment Date: Fri, 13 Jan 2023 18:03:54 +0000 Message-Id: <20230113180355.2930042-8-mark.rutland@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230113180355.2930042-1-mark.rutland@arm.com> References: <20230113180355.2930042-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?1754932421822535855?= X-GMAIL-MSGID: =?utf-8?q?1754932421822535855?= 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 b30b955a8921..38ebdf063255 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. *