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

From: Ankur Arora

Date: Wed Feb 11 2026 - 17:58:17 EST



Catalin Marinas <catalin.marinas@xxxxxxx> writes:

> On Sun, Feb 08, 2026 at 06:31:43PM -0800, Ankur Arora wrote:
>> 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

Ack. I had added config ARCH_HAS_CPU_RELAX in arch/Kconfig
for my test builds but got rid of that when sending out the
series. Will fix.

> Otherwise,
>
> Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>

Thanks.

--
ankur