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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13472C0015E for ; Tue, 4 Jul 2023 14:00:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231308AbjGDOAh (ORCPT ); Tue, 4 Jul 2023 10:00:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230479AbjGDOAV (ORCPT ); Tue, 4 Jul 2023 10:00:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F29B11704 for ; Tue, 4 Jul 2023 06:59:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 88CC561173 for ; Tue, 4 Jul 2023 13:59:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CEC5BC433C7; Tue, 4 Jul 2023 13:59:57 +0000 (UTC) Date: Tue, 4 Jul 2023 09:59:53 -0400 From: Steven Rostedt To: Catalin Marinas Cc: Arnd Bergmann , Will Deacon , Mark Rutland , Donglin Peng , Arnd Bergmann , Florent Revest , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: ftrace: fix build error with CONFIG_FUNCTION_GRAPH_TRACER=n Message-ID: <20230704095953.6665eaf6@rorschach.local.home> In-Reply-To: References: <20230623152204.2216297-1-arnd@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 30 Jun 2023 17:02:39 +0100 Catalin Marinas wrote: > > diff --git a/arch/arm64/kernel/asm-offsets.c b/arch/arm64/kernel/asm-offsets.c > > index 757d01a68ffd0..5ff1942b04fcf 100644 > > --- a/arch/arm64/kernel/asm-offsets.c > > +++ b/arch/arm64/kernel/asm-offsets.c > > @@ -213,9 +213,9 @@ int main(void) > > DEFINE(FGRET_REGS_X7, offsetof(struct fgraph_ret_regs, regs[7])); > > DEFINE(FGRET_REGS_FP, offsetof(struct fgraph_ret_regs, fp)); > > DEFINE(FGRET_REGS_SIZE, sizeof(struct fgraph_ret_regs)); > > +#endif > > #ifdef CONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS > > DEFINE(FTRACE_OPS_DIRECT_CALL, offsetof(struct ftrace_ops, direct_call)); > > -#endif > > #endif > > return 0; > > } > > Acked-by: Catalin Marinas > > Steven, since the fixed commit went in via your tree, could you please > pick this up as well for -rc1? Otherwise I'll queue it for -rc2 once the > ftrace changes turn up in -rc1. I'm working on a fixes pull request for Linus. I'll apply this to it and start my testing on it. I should have a pull request to Linus before the end of the week. -- Steve