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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B60C3CEFC38 for ; Tue, 8 Oct 2024 17:36:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9vnKVrd6no7+Ja3fqRknjIuUiQlbhZM//6mbZB8VZjs=; b=cDGQ13Yxm/pLlocZ37mZf44JNp NZcZLtXcPOcIiiP9t3lco/QLAqWjVsu7gHbHBqSlZ3STQgSjGL+SwIKwt/MUQW0HeF2JGWB29B2Le 0dfQ7c60BaQVstKJWLuZoZqVybeqzlY6E9Z1Jh/SrZFaWTEdgweqGuqLDS0XFa0UHzBNcc2NAYmqg u0ZjFKTi895iISYeOCTCxFb3r1CBO/GTVmnds/bnTMbVpqUViDdQAPMnXbgavSmHNe25qw5SXiFoz TLrGaTM1IaM1v2ElKhqUVJ4CvF5I/mCkG3VhNsO5IvSobcES4GZL0uJnNuArAoT7ikE5ZOyEJ75qL zhRjvyXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syE8S-00000006fFL-0nO6; Tue, 08 Oct 2024 17:36:36 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syE5Q-00000006ebm-0zLj; Tue, 08 Oct 2024 17:33:57 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 6196F5C57C4; Tue, 8 Oct 2024 17:33:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95454C4CEC7; Tue, 8 Oct 2024 17:33:22 +0000 (UTC) Date: Tue, 8 Oct 2024 13:33:25 -0400 From: Steven Rostedt To: Heiko Carstens Cc: LKML , Linux Trace Kernel , linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, "linux-arch@vger.kernel.org" , "x86@kernel.org" , Masami Hiramatsu , Mathieu Desnoyers , Mark Rutland , Catalin Marinas , Will Deacon , Huacai Chen , WANG Xuerui , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Naveen N Rao , Madhavan Srinivasan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen Subject: Re: [PATCH] ftrace: Make ftrace_regs abstract from direct use Message-ID: <20241008133325.47b7b457@gandalf.local.home> In-Reply-To: <20241008145852.27223-E-hca@linux.ibm.com> References: <20241007204743.41314f1d@gandalf.local.home> <20241007205458.2bbdf736@gandalf.local.home> <20241008145852.27223-E-hca@linux.ibm.com> X-Mailer: Claws Mail 3.20.0git84 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_103328_354649_C8B73758 X-CRM114-Status: GOOD ( 13.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 8 Oct 2024 16:58:52 +0200 Heiko Carstens wrote: > On Mon, Oct 07, 2024 at 08:54:58PM -0400, Steven Rostedt wrote: > > On Mon, 7 Oct 2024 20:47:43 -0400 > > Steven Rostedt wrote: > > #define arch_ftrace_get_regs(fregs) ({ &arch_ftrace_regs(fregs)->regs; }) > > > > I may send a v2 (tomorrow). > > Could you also write against which tree this patch is? > It doesn't apply on top of Linus' master branch. Ah, sorry, I should have specified. It applies to my ftrace/for-next branch (which is also part of linux-next). I just checked out linux-next, and it still applies but with some shifts, so updates from other trees do affect it slightly. If you want it to apply cleanly, use this tree: https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git/ ftrace/for-next -- Steve