From nobody Sun Feb 8 02:41:19 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8C01273D9A; Sat, 24 Jan 2026 09:23:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769246622; cv=none; b=kRH09njyDaM4lfv2g77B7yPgPnkUB4D9KyHEgspukqBoxgTFmbqrnDcxkONcdOM1KtIRNrR/jfy5ZBbTp172o+xpIGxK04SXEfqCsNxcPt+eOf4XPxiDoWye+6G1jUUyy4lz8u5wmjXIMZpq6ghpuzdh33i4+WFybeagYXfwW5Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769246622; c=relaxed/simple; bh=b2cf1NyMZaS0PTb2uIGnF5FseT3NlAJdDLIwcw9+4FA=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=fhSwYOtZMh10GJ9/hl8+I1b/4xtlYyJ+4X4IsXMVxL2YBrjRRimj9FcTg0RggTSxYIM0S2BWbuTebHufs10d3MEQ8zZ4vjIcV6mqnps+auoeJc5XOr+Hum+A+BIKATwZHyOKsEuoEMoLslp4BRMwGJ2VKtYvtNaDQtuiIXHxaDg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=x+6OLmx7; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=OQ6Q+gQv; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="x+6OLmx7"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="OQ6Q+gQv" Date: Sat, 24 Jan 2026 09:23:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1769246613; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NK4GdT+/ZVk0bZ+/QPI41gm/04IqQR5/6K9wiuLIFoc=; b=x+6OLmx75fqG+J8MXA59R63t17I4AYSIZLxpfU0Wt4+M4V/8LGRPfwMQXjvQ5zkiIouN4U GUwufOIPBKyDv48B/90TLufGhmLbVsYI9nlN907ayoMI6b1zbuVsErtF93r9ph3gCvRMwB y3GMp1p780IQx0jZiH7K5/usotFJB0kQGrYtGwL7wxSsDI8BLnDRb7ad2dXtXKZTSnzVp9 MoG1Ogzfvxg3XRx1A9F8UGNtVNqUfu366NREgBFG34YusiyuNYFz+SjC7K2FLtBVMwiWdw YfLgektjv0cAKiq5XHseDXpA5dczRm0jTP1VyFx8X/CDvotBLHV2r2859+f7RQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1769246613; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NK4GdT+/ZVk0bZ+/QPI41gm/04IqQR5/6K9wiuLIFoc=; b=OQ6Q+gQvbRngW6rfRt+sxa3ozAMPRpnnFjDYfXlthh17WZgt6P6g/vvhW1YlO6FbdrzGxy 43VyDJw01lWayHAw== From: "tip-bot2 for Nathan Chancellor" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/entry] x86/entry/vdso32: Omit '.cfi_offset eflags' for LLVM < 16 Cc: Nathan Chancellor , Ingo Molnar , "H. Peter Anvin (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: =?utf-8?q?=3C20260123-x86-vdso32-wa-llvm-15-cfi-offset-eflags-v?= =?utf-8?q?1-1-0f412e3516a4=40kernel=2Eorg=3E?= References: =?utf-8?q?=3C20260123-x86-vdso32-wa-llvm-15-cfi-offset-eflags-v1?= =?utf-8?q?-1-0f412e3516a4=40kernel=2Eorg=3E?= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <176924660698.510.2856740193141790742.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/entry branch of tip: Commit-ID: 3e30278e0c71808e156cac8da5895d636ce819d5 Gitweb: https://git.kernel.org/tip/3e30278e0c71808e156cac8da5895d636= ce819d5 Author: Nathan Chancellor AuthorDate: Fri, 23 Jan 2026 16:20:28 -07:00 Committer: Ingo Molnar CommitterDate: Sat, 24 Jan 2026 10:18:28 +01:00 x86/entry/vdso32: Omit '.cfi_offset eflags' for LLVM < 16 After commit: 884961618ee5 ("x86/entry/vdso32: Remove open-coded DWARF in sigreturn.S") building arch/x86/entry/vdso/vdso32/sigreturn.S with LLVM 15 fails with: :18:20: error: invalid register name .cfi_offset eflags, 64 ^ arch/x86/entry/vdso/vdso32/sigreturn.S:33:2: note: while in macro instant= iation STARTPROC_SIGNAL_FRAME 8 ^ Support for eflags as an argument to .cfi_offset was added in the LLVM 16 development cycle: https://github.com/llvm/llvm-project/commit/67bd3c58c0c7389e39c5a2f4d3b= 1a30459ccf5b7 [1] Only add this .cfi_offset directive if it is supported by the assembler to clear up the error. [ mingo: Tidied up the changelog and the comment a bit ] Fixes: 884961618ee5 ("x86/entry/vdso32: Remove open-coded DWARF in sigretur= n.S") Signed-off-by: Nathan Chancellor Signed-off-by: Ingo Molnar Acked-by: H. Peter Anvin (Intel) Link: https://patch.msgid.link/20260123-x86-vdso32-wa-llvm-15-cfi-offset-ef= lags-v1-1-0f412e3516a4@kernel.org --- arch/x86/entry/vdso/vdso32/sigreturn.S | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/x86/entry/vdso/vdso32/sigreturn.S b/arch/x86/entry/vdso/v= dso32/sigreturn.S index 25b0ac4..b433353 100644 --- a/arch/x86/entry/vdso/vdso32/sigreturn.S +++ b/arch/x86/entry/vdso/vdso32/sigreturn.S @@ -22,7 +22,17 @@ CFI_OFFSET cs, IA32_SIGCONTEXT_cs CFI_OFFSET ss, IA32_SIGCONTEXT_ss CFI_OFFSET ds, IA32_SIGCONTEXT_ds +/* + * .cfi_offset eflags requires LLVM 16 or newer: + * + * https://github.com/llvm/llvm-project/commit/67bd3c58c0c7389e39c5a2f4d= 3b1a30459ccf5b7 + * + * Check for 16.0.1 to ensure the support is present, as 16.0.0 may be a + * prerelease version. + */ +#if defined(CONFIG_AS_IS_GNU) || (defined(CONFIG_AS_IS_LLVM) && CONFIG_AS_= VERSION >=3D 160001) CFI_OFFSET eflags, IA32_SIGCONTEXT_flags +#endif .endm =20 .text