From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 362EB606A323 for ; Wed, 2 Dec 2026 13:40:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=B1ONnPfq; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=uJ8yc+AO 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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=hu2uArrcC4e9L+fVGu2irLdMG5RaNwKaQImtbfPZNKE=; b=B1ONnPfqzc60eSDERJFn+j15Ls QvSQOC0ywcgHfZ6pEFjH6lVx6tPUVOFJhY5j5CTEYqKo4QlV9P40gv2T36ZCiqZauFfkLdRxejx6S IpLsU1E7Mt7bpqH05Nh2dCh19aj+SXyIHI5+N7nOOm+8wXfIyxLaxKDy5j1ohad1E4zOfUdSU1KNs Q3WdA7boWAGYSyEX6BYd/zkAnsn4OtVgVuWWdsaXHtIO/q3FuvSv4R0++22LSux35Bv+chmKWjI1f 4dxh+kXKNWc2q0DI1IhBiuoBXJhOcKLJngUWGtrVFRNCnh3eMvov048pOAuN+14ca7L0mA4PyasKY y9Jw2gsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYkZI-0000000BcHs-0WST; Wed, 02 Dec 2026 13:40:20 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYkZG-0000000BcHj-0oAk; Wed, 02 Dec 2026 13:40:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=hu2uArrcC4e9L+fVGu2irLdMG5RaNwKaQImtbfPZNKE=; b=uJ8yc+AOkFj2KZyfcTjCKOobSW 8I8BZXSe83zDdR/7+xlvhTsCTfBbpviNnpxMg+oYJB5W0qH0VKlDpnvvYT/HmF7NQTPMblzgPh/1H KvV2aWMglV/MwYEZZWve5638rWBo3VRBVnwjDaYzT2ddBmaUJqHuFy4jh1HvpP1Qgk6+t3E3WKXcJ sRVfmf135TxkuakMsfIezXHURbXLG/tSR3KRY7sF+zmag2+kH60H0iOIRoM+Id2YvnvwoL+8C79Dc 4MANQN/XZ2ef48ph4RB+iiXPO4SbSFq65pc8xx7dn4YoN9uFI0+Utk9tLULObdx8oU3gW90TirJwx 4ml2X/XQ==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYkZB-0000000G6fk-2GrV; Wed, 02 Dec 2026 13:40:13 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 8F0AD300428; Wed, 02 Dec 2026 14:40:12 +0100 (CET) Date: Wed, 2 Dec 2026 14:40:12 +0100 From: Peter Zijlstra To: Ian Rogers Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-arch@vger.kernel.org, jpoimboe@kernel.org, rostedt@goodmis.org, mingo@redhat.com, tglx@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, catalin.marinas@arm.com, will@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, linux-riscv@lists.infradead.org, acme@kernel.org, namhyung@kernel.org, linux-perf-users@vger.kernel.org, mhiramat@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, bpf@vger.kernel.org, nathan@kernel.org, llvm@lists.linux.dev, nsc@kernel.org, linux-kbuild@vger.kernel.org, ojeda@kernel.org, rust-for-linux@vger.kernel.org, ardb@kernel.org, linux-efi@vger.kernel.org, maz@kernel.org, oupton@kernel.org, kvmarm@lists.linux.dev, shuah@kernel.org, linux-kselftest@vger.kernel.org, indu.bhagat@oracle.com, jremus@linux.ibm.com, wnliu@google.com, dylanbhatch@google.com Subject: Re: [RFC PATCH v2 11/30] x86: Add DWARF CFI annotations to entry, ftrace, frame, and rethook Message-ID: <20261202134012.GK2883950@noisy.programming.kicks-ass.net> References: <20261125061523.1540234-1-irogers@google.com> <20261125061523.1540234-12-irogers@google.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261125061523.1540234-12-irogers@google.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Tue, Nov 24, 2026 at 10:15:04PM -0800, Ian Rogers wrote: > Prepare x86-64 hand-written and inline assembly paths for runtime > Minimal DWARF CFI kernel unwinding when CONFIG_UNWINDER_DWARF_CFI is > enabled: > - Emit .eh_frame alongside .debug_frame in asm/dwarf2.h and preserve > FRAME_BEGIN/FRAME_END frame setup for non-leaf assembly helpers in > asm/frame.h. > - Annotate THUNK (arch/x86/entry/calling.h), ftrace_caller / > ftrace_regs_caller / return_to_handler (arch/x86/kernel/ftrace_64.S), > and arch_rethook_trampoline() (arch/x86/kernel/rethook.c) with .cfi_* > directives. > > Signed-off-by: Ian Rogers Hard NAK on this.