From patchwork Mon Jan 23 13:46:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Rutland X-Patchwork-Id: 47156 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1617587wrn; Mon, 23 Jan 2023 05:48:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXuALQ2VwxZKNH83AqAWqSX2xLUCAp7IIsIwRBSO5s0s5ZPhJGUWdHqYUodRwWcrmbdVInwm X-Received: by 2002:a05:6402:2b9b:b0:49d:34ae:c7aa with SMTP id fj27-20020a0564022b9b00b0049d34aec7aamr26397530edb.29.1674481698527; Mon, 23 Jan 2023 05:48:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674481698; cv=none; d=google.com; s=arc-20160816; b=JxY9iiAqCPuERgTNfZAMMbXOfssx3wYcZGuWyvTkXwnLcPc5i0Y/HGh+oMbmhHHaDH C0mnyn2/PsBRlH7gOLR8Zl9XWA/dhghXv8/g9BbQKyGzgA2sXvwo2Vmh3wUwy4G84ufw HWhoYTdEzIDF7dWUSymmGZaDainRh++6Pm2Rq5ZVJ3c79dUy/IHGv7ki9lDvu8/jGqyD ZTXj0IjQOk+afUAsVDzzEEn/q37VTacbqwwZ3GmpdLgRKXtJUS6PHDhYXLzdyuI9HwLm Bs1+ztPQDKxaFheV5lQmxP9rgpjbZP3sdB1TnTD+aQ0KSX+MdtIy8k8IY4iJgWYeLlP7 eRlw== 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=nGaJequutWCD4t2C1hihWkbUWlX0i2Ieyf7b8JycbbpMXyMLdEMohZhV41KjjNyFG6 X3XMuFlU7Q17mJFbCfrN7zoSVcm9+pTS1cgXpMXAfH8zmwqXIAaisgt7XpNJXsVyj0Er eTGAIV6iuoA/lKM0bi1i2HU0+/Tsx746Opwe2EUVmbayKYTJh1HNvRbBI5MRK6GTS7qs ZOIxGoKw/3L/ZOdnpB5cO/9E1XTIBcnx+ck204ejpvB1rFXpvMwc1CaLKMsQjniyfkTj WoJJWyVeafjh6WekWtvmhEH+MmZ26VAU0brIcE1Q+xUuayg/wegAJ+1wsY3FX5AWykfz rE/w== 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 el14-20020a056402360e00b0049cbe322904si9770947edb.408.2023.01.23.05.47.53; Mon, 23 Jan 2023 05:48:18 -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 S232017AbjAWNq4 (ORCPT + 99 others); Mon, 23 Jan 2023 08:46:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231642AbjAWNqk (ORCPT ); Mon, 23 Jan 2023 08:46:40 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 82F2925E26; Mon, 23 Jan 2023 05:46:30 -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 F2A171682; Mon, 23 Jan 2023 05:47:11 -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 67C293F64C; Mon, 23 Jan 2023 05:46:28 -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 v3 7/8] arm64: ftrace: Update stale comment Date: Mon, 23 Jan 2023 13:46:02 +0000 Message-Id: <20230123134603.1064407-8-mark.rutland@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230123134603.1064407-1-mark.rutland@arm.com> References: <20230123134603.1064407-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?1755821321427324980?= X-GMAIL-MSGID: =?utf-8?q?1755821321427324980?= 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. *