]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: Unconditionally enable LSE support
authorMarc Zyngier <maz@kernel.org>
Wed, 7 Jan 2026 18:06:59 +0000 (18:06 +0000)
committerWill Deacon <will@kernel.org>
Thu, 22 Jan 2026 10:16:41 +0000 (10:16 +0000)
commit6191b25d8bd902c1a107170df54bddbb0e2335f8
tree95d5cc841c095f551b8e5b3eb3d0b6e4046fa40a
parente3baa5d4b361276efeb87b20d8beced451a7dbd5
arm64: Unconditionally enable LSE support

LSE atomics have been in the architecture since ARMv8.1 (released in
2014), and are hopefully supported by all modern toolchains.

Drop the optional nature of LSE support in the kernel, and always
compile the support in, as this really is very little code. LL/SC
still is the default, and the switch to LSE is done dynamically.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/Kconfig
arch/arm64/include/asm/insn.h
arch/arm64/include/asm/lse.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kvm/at.c
arch/arm64/lib/insn.c
arch/arm64/net/bpf_jit_comp.c