arm: Hook up SYNC_CORE functionality for sys_membarrier()
Subsystems (2)
PATCH v2 1/1 arm: Hook up SYNC_CORE functionality for sys_membarrier()
Exception return implies context synchronization, so we can hook up the SYNC_CORE option to sys_membarrier() simply by selecting the Kconfig option, just like we've done for arm64 already.
---
v1 -> v2: Update arch-support.txt
.../features/sched/membarrier-sync-core/arch-support.txt | 8 ++++---- arch/arm/Kconfig | 1 + 2 files changed, 5 insertions(+), 4 deletions(-)
Documentation/features/sched/membarrier-sync-core/arch-support.txt +4 -4
@@ -5,10 +5,10 @@ # # Architecture requirements # -# * arm64 +# * arm/arm64 # -# Rely on eret context synchronization when returning from IPI handler, and -# when returning to user-space. +# Rely on implicit context synchronization as a result of exception return +# when returning from IPI handler, and when returning to user-space. # # * x86 #
@@ -31,7 +31,7 @@ ----------------------- | alpha: | TODO | | arc: | TODO | - | arm: | TODO | + | arm: | ok | | arm64: | ok | | c6x: | TODO | | h8300: | TODO |
arch/arm/Kconfig +1 -0
@@ -9,6 +9,7 @@ config ARM select ARCH_HAS_ELF_RANDOMIZE select ARCH_HAS_FORTIFY_SOURCE select ARCH_HAS_KCOV + select ARCH_HAS_MEMBARRIER_SYNC_CORE select ARCH_HAS_PTE_SPECIAL if ARM_LPAE select ARCH_HAS_PHYS_TO_DMA select ARCH_HAS_SET_MEMORY
Signature · 1 line
2.1.4
PATCH v2 1/1 arm: Hook up SYNC_CORE functionality for sys_membarrier()
Quoted 7 lines · Will Deacon will.deacon at arm.com
Exception return implies context synchronization, so we can hook up the
SYNC_COREoption tosys_membarrier()simply by selecting theKconfigoption, just like we've done for arm64 already.Cc Mathieu Desnoyers <[email protected]>Cc Orion Hodson <[email protected]>Signed-off-by Will Deacon <[email protected]>
Thanks!
Mathieu
Quoted 50 lines
---
v1 -> v2: Update arch-support.txt
.../features/sched/membarrier-sync-core/arch-support.txt| 8 ++++----arch/arm/Kconfig| 1 +2 files changed, 5 insertions(+), 4 deletions(-)Documentation/features/sched/membarrier-sync-core/arch-support.txt +4
-4@@ -5,10 +5,10 @@ # # Architecture requirements # -# * arm64 +# * arm/arm64 # -# Rely on eret context synchronization when returning from IPI handler, and -# when returning to user-space. +# Rely on implicit context synchronization as a result of exception return +# when returning from IPI handler, and when returning to user-space. # # * x86 #@@ -31,7 +31,7 @@ ----------------------- | alpha: | TODO | | arc: | TODO | - | arm: | TODO | + | arm: | ok | | arm64: | ok | | c6x: | TODO | | h8300: | TODO |arch/arm/Kconfig +1
-1@@ -9,6 +9,7 @@ config ARM select ARCH_HAS_ELF_RANDOMIZE select ARCH_HAS_FORTIFY_SOURCE select ARCH_HAS_KCOV + select ARCH_HAS_MEMBARRIER_SYNC_CORE select ARCH_HAS_PTE_SPECIAL if ARM_LPAE select ARCH_HAS_PHYS_TO_DMA select ARCH_HAS_SET_MEMORY --2.1.4
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com
PATCH v2 1/1 arm: Hook up SYNC_CORE functionality for sys_membarrier()
Great, thank you!
Quoted 72 lines · Mathieu Desnoyers
Quoted 7 lines · Will Deacon will.deacon at arm.com
Exception return implies context synchronization, so we can hook up the
SYNC_COREoption tosys_membarrier()simply by selecting theKconfigoption, just like we've done for arm64 already.Cc Mathieu Desnoyers <[email protected]>Cc Orion Hodson <[email protected]>Signed-off-by Will Deacon <[email protected]>Thanks!
Mathieu
Quoted 49 lines
---
v1 -> v2: Update arch-support.txt
.../features/sched/membarrier-sync-core/arch-support.txt| 8 ++++----arch/arm/Kconfig| 1 +2 files changed, 5 insertions(+), 4 deletions(-)Documentation/features/sched/membarrier-sync-core/arch-support.txt +4
-4@@ -5,10 +5,10 @@ # # Architecture requirements # -# * arm64 +# * arm/arm64 # -# Rely on eret context synchronization when returning from IPI handler, and -# when returning to user-space. +# Rely on implicit context synchronization as a result of exception return +# when returning from IPI handler, and when returning to user-space. # # * x86 #@@ -31,7 +31,7 @@ ----------------------- | alpha: | TODO | | arc: | TODO | - | arm: | TODO | + | arm: | ok | | arm64: | ok | | c6x: | TODO | | h8300: | TODO |arch/arm/Kconfig +1
-1@@ -9,6 +9,7 @@ config ARM select ARCH_HAS_ELF_RANDOMIZE select ARCH_HAS_FORTIFY_SOURCE select ARCH_HAS_KCOV + select ARCH_HAS_MEMBARRIER_SYNC_CORE select ARCH_HAS_PTE_SPECIAL if ARM_LPAE select ARCH_HAS_PHYS_TO_DMA select ARCH_HAS_SET_MEMORY --Quoted 1 line
2.1.4
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
Signature · 1 line
Orion Hodson | Software Engineer | oth at google.com | +44 7505 730469