From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 856123D6CD4; Sun, 17 May 2026 23:06:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779059165; cv=none; b=n8+342lkMJEp/DZkbndLRXAwWjCEEdMip0QaW4CtTv7Wyoa0Mbd6d4O5y8S3Ik4S3PWxRFJVram8QaTMohfvf3u0ZwY7VZRZb1C94hhnMncSogi38RnW2skfLHn8uR73CYsFvJjxmCHsn/a0zo9R1Ot35gqXaxnMPtO32y/jpXY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779059165; c=relaxed/simple; bh=fETClpKIq4SLaWWppFV0wCLK1a8ciNPumQoKZtCRRBU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=B7/1j/nMJT8p/qJX3K8hGg3VeJ8lKwXuWJVqvkm37PkI5F79H5j4Abmq0Qy5T/0PqBgaJHqQGvhaNDdCZ36Qda4CXCob3Njxsz3K2+jT4AhHy5vorSmEHQlFYP9pEFD5i/yJKS8N9l5TKoYfihN6fLz2A2pH7fiIqU09QzGzkr4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=d2W8e7N2; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="d2W8e7N2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A1EEC2BCF5; Sun, 17 May 2026 23:06:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1779059165; bh=fETClpKIq4SLaWWppFV0wCLK1a8ciNPumQoKZtCRRBU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=d2W8e7N2kQwFVekEwC4naW8eT6yNhNg5JmaS5xbmZbeIJM2GEtojUHit0qepfTIIA KKnS3wDhu5bGnUtzXQL1RnSsvfXqIG/ex0SupGqLSsHxXsaA33WNbTvpC6mYU8aGZR 8asVRlu/skBvI82f7VP1d1SR3y7IzZ60DrxQqLfa+3U459ZcObkKAknupwZkWcJB8e 7rajyFZDpyrxglSAiM/6XIIcLzDqL8r2Sm4RzLQL2N9r3I1AuxNeC7wqzNupwNAuz3 VYyWuJl+72fQi9byF1JAwlKIF6Wt8bfcqHEGHap61GQibrJtdKlVc0Hzp3yIe/3FlQ DuQ9XdTd0jUpA== From: Nathan Chancellor Date: Sun, 17 May 2026 13:05:16 -1000 Subject: [PATCH v2 13/16] x86/entry/vdso32: Remove conditional omission of '.cfi_offset eflags' Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260517-bump-minimum-supported-llvm-version-to-17-v2-13-b3b8cda46bdd@kernel.org> References: <20260517-bump-minimum-supported-llvm-version-to-17-v2-0-b3b8cda46bdd@kernel.org> In-Reply-To: <20260517-bump-minimum-supported-llvm-version-to-17-v2-0-b3b8cda46bdd@kernel.org> To: Nathan Chancellor , Nicolas Schier , Bill Wendling , Justin Stitt , Nick Desaulniers Cc: linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-kbuild@vger.kernel.org, "H. Peter Anvin (Intel)" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , Peter Zijlstra , x86@kernel.org X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1527; i=nathan@kernel.org; h=from:subject:message-id; bh=fETClpKIq4SLaWWppFV0wCLK1a8ciNPumQoKZtCRRBU=; b=owGbwMvMwCUmm602sfCA1DTG02pJDFlcnpsMIhxrXRYENnA/8mCVd7x0dN6l0ynlFdoNW958+ /xc2se9o5SFQYyLQVZMkaX6sepxQ8M5ZxlvnJoEM4eVCWQIAxenAExkkz4jw6pQ9gsz/Z+Everk MOWQDt1XluTbfELDsW0J98xtkafOqDD891gZf33H19N+32Jb9JK+3bjplbLM9WztgivrzVWj29d P4AQA X-Developer-Key: i=nathan@kernel.org; a=openpgp; fpr=2437CB76E544CB6AB3D9DFD399739260CB6CB716 Now that the minimum supported version of LLVM for building the kernel has been raised to 17.0.1, the inclusion condition added by 3e30278e0c71 ("x86/entry/vdso32: Omit '.cfi_offset eflags' for LLVM < 16") will always be true. Revert the change to clean up the source code. Acked-by: H. Peter Anvin (Intel) Signed-off-by: Nathan Chancellor --- Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: Peter Zijlstra Cc: x86@kernel.org --- arch/x86/entry/vdso/vdso32/sigreturn.S | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/x86/entry/vdso/vdso32/sigreturn.S b/arch/x86/entry/vdso/vdso32/sigreturn.S index b33fcc501ba3..328bd3a4ef51 100644 --- a/arch/x86/entry/vdso/vdso32/sigreturn.S +++ b/arch/x86/entry/vdso/vdso32/sigreturn.S @@ -22,17 +22,7 @@ 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/67bd3c58c0c7389e39c5a2f4d3b1a30459ccf5b7 - * - * 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 >= 160001) CFI_OFFSET eflags, IA32_SIGCONTEXT_flags -#endif .endm /* -- 2.54.0