[PATCH] s390: Select ARCH_MEMORY_ORDER_TSO

From: Heiko Carstens

Date: Wed Oct 14 2026 - 07:54:38 EST


s390 is a Total Store Order (TSO) architecture. Therefore select
ARCH_MEMORY_ORDER_TSO which was introduced with [1]. As of now this has
only a small effect on futex_robust_unlock(), but that might change in
the future.

[1] commit 6149fc36c09b ("uaccess: Provide unsafe_atomic_store_release_user()")

Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
---
arch/s390/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 4b51bc6e8948..ebdf9c8049af 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -145,6 +145,7 @@ config S390
select ARCH_INLINE_WRITE_UNLOCK_BH
select ARCH_INLINE_WRITE_UNLOCK_IRQ
select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
+ select ARCH_MEMORY_ORDER_TSO
select ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE
select ARCH_STACKWALK
select ARCH_SUPPORTS_ATOMIC_RMW
--
2.53.0