Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6279741rwl; Mon, 9 Jan 2023 06:31:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXs+ZMeeh4yG00vOb6td9Vx62HotE7rBjf2sr7PM8zc1+/NDVKkRJL63bdcCNmbL5IaiiJGl X-Received: by 2002:a05:6402:1caa:b0:475:9918:37c7 with SMTP id cz10-20020a0564021caa00b00475991837c7mr51255118edb.32.1673274686113; Mon, 09 Jan 2023 06:31:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673274686; cv=none; d=google.com; s=arc-20160816; b=ToyYvOD+2D/4lthHwfCUdAK4D1ZFB7HaiUXxWRA+pg5yUpsTvUP4JCZTQaGeFaRLkp mztdAqM6JxfgMgyPT5z8yakpTcuLrdxaLjfRfMmCbQ6GXJj/uHKvrqzHkMj+gIn7ORkr 1iY+FhxMaWI1iRVmPbIGS2cl9PG/UD/vEotIfId3GcwnpPnRkYLD9f3/UuSqQArzbnqh B7JonEmlOWC6p+3IFm0QAidyKDTYi+6fCecTvr3/XWc7M11bLBWA5ZZie3GVz5tjCOBW JQnQSDa/h4wkAXhSmK+pneOflF7IMXeAgYVh7dPw900KlliHvwTOG6dqr8ALcknbbjwq HlMA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e8-20020a056402190800b00461dca37cd0si11023630edz.126.2023.01.09.06.31.13; Mon, 09 Jan 2023 06:31:26 -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 + 53 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 Content-Transfer-Encoding: 8bit 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 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. * -- 2.30.2