Thread (33 messages) 33 messages, 6 authors, 2026-02-18

Re: [PATCH v9 02/12] arm64: barrier: Support smp_cond_load_relaxed_timeout()

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2026-02-11 15:54:34
Also in: bpf, linux-arch, linux-pm, lkml

On Sun, Feb 08, 2026 at 06:31:43PM -0800, Ankur Arora wrote:
quoted hunk ↗ jump to hunk
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 93173f0a09c7..239fdca8e2cf 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -22,6 +22,7 @@ config ARM64
 	select ARCH_HAS_CACHE_LINE_SIZE
 	select ARCH_HAS_CC_PLATFORM
 	select ARCH_HAS_CPU_CACHE_INVALIDATE_MEMREGION
+	select ARCH_HAS_CPU_RELAX
AFAICT, ARCH_HAS_CPU_RELAX is only defined for x86. You can't just
select it here. Either make the definition global somewhere or add this
to arm64 Kconfig:

config ARCH_HAS_CPU_RELAX
	def_bool y

Otherwise,

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help