]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: Remove tautological LLVM Kconfig conditions
authorNathan Chancellor <nathan@kernel.org>
Thu, 21 Aug 2025 21:15:41 +0000 (14:15 -0700)
committerNathan Chancellor <nathan@kernel.org>
Thu, 28 Aug 2025 23:58:44 +0000 (16:58 -0700)
Now that the minimum supported version of LLVM for building the kernel
has been bumped to 15.0.0, two sets of always true conditions can be
safely removed in the arm64 Kconfig file.

Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250821-bump-min-llvm-ver-15-v2-4-635f3294e5f0@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
arch/arm64/Kconfig

index e9bbfacc35a64d7ef1793a5d7f7ff8db138f2814..41c05562e9af2feb6f32f0d65c7621ff0f45c585 100644 (file)
@@ -1492,8 +1492,6 @@ choice
 
 config CPU_BIG_ENDIAN
        bool "Build big-endian kernel"
-       # https://github.com/llvm/llvm-project/commit/1379b150991f70a5782e9a143c2ba5308da1161c
-       depends on AS_IS_GNU || AS_VERSION >= 150000
        help
          Say Y if you plan on running a kernel with a big-endian userspace.
 
@@ -2363,8 +2361,7 @@ config STACKPROTECTOR_PER_TASK
 
 config UNWIND_PATCH_PAC_INTO_SCS
        bool "Enable shadow call stack dynamically using code patching"
-       # needs Clang with https://github.com/llvm/llvm-project/commit/de07cde67b5d205d58690be012106022aea6d2b3 incorporated
-       depends on CC_IS_CLANG && CLANG_VERSION >= 150000
+       depends on CC_IS_CLANG
        depends on ARM64_PTR_AUTH_KERNEL && CC_HAS_BRANCH_PROT_PAC_RET
        depends on SHADOW_CALL_STACK
        select UNWIND_TABLES