All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] s390: Select ARCH_MEMORY_ORDER_TSO
@ 2026-10-14 11:50 Heiko Carstens
  2026-10-14 11:52 ` sashiko-bot
  2026-10-14 12:20 ` Ilya Leoshkevich
  0 siblings, 2 replies; 3+ messages in thread
From: Heiko Carstens @ 2026-10-14 11:50 UTC (permalink / raw)
  To: Alexander Gordeev, Sven Schnelle, Vasily Gorbik,
	Christian Borntraeger
  Cc: linux-kernel, linux-s390

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@linux.ibm.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] s390: Select ARCH_MEMORY_ORDER_TSO
  2026-10-14 11:50 [PATCH] s390: Select ARCH_MEMORY_ORDER_TSO Heiko Carstens
@ 2026-10-14 11:52 ` sashiko-bot
  2026-10-14 12:20 ` Ilya Leoshkevich
  1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-10-14 11:52 UTC (permalink / raw)
  To: Heiko Carstens
  Cc: linux-s390, Vasily Gorbik, Alexander Gordeev,
	Christian Borntraeger

> 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@linux.ibm.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261014115006.537790-1-hca@linux.ibm.com?part=1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] s390: Select ARCH_MEMORY_ORDER_TSO
  2026-10-14 11:50 [PATCH] s390: Select ARCH_MEMORY_ORDER_TSO Heiko Carstens
  2026-10-14 11:52 ` sashiko-bot
@ 2026-10-14 12:20 ` Ilya Leoshkevich
  1 sibling, 0 replies; 3+ messages in thread
From: Ilya Leoshkevich @ 2026-10-14 12:20 UTC (permalink / raw)
  To: Heiko Carstens, Alexander Gordeev, Sven Schnelle, Vasily Gorbik,
	Christian Borntraeger
  Cc: linux-kernel, linux-s390



On 10/14/26 13:50, Heiko Carstens wrote:
> 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@linux.ibm.com>
> ---
>   arch/s390/Kconfig | 1 +
>   1 file changed, 1 insertion(+)

Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-14 12:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-14 11:50 [PATCH] s390: Select ARCH_MEMORY_ORDER_TSO Heiko Carstens
2026-10-14 11:52 ` sashiko-bot
2026-10-14 12:20 ` Ilya Leoshkevich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.