提交 e69244d2 编写于 作者: W Will Deacon 提交者: Russell King

ARM: 8777/1: 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.

Cc: Orion Hodson <oth@google.com>
Acked-by: NMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: NWill Deacon <will.deacon@arm.com>
Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
上级 ce397d21
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
# #
# Architecture requirements # Architecture requirements
# #
# * arm64 # * arm/arm64
# #
# Rely on eret context synchronization when returning from IPI handler, and # Rely on implicit context synchronization as a result of exception return
# when returning to user-space. # when returning from IPI handler, and when returning to user-space.
# #
# * x86 # * x86
# #
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
----------------------- -----------------------
| alpha: | TODO | | alpha: | TODO |
| arc: | TODO | | arc: | TODO |
| arm: | TODO | | arm: | ok |
| arm64: | ok | | arm64: | ok |
| c6x: | TODO | | c6x: | TODO |
| h8300: | TODO | | h8300: | TODO |
......
...@@ -9,6 +9,7 @@ config ARM ...@@ -9,6 +9,7 @@ config ARM
select ARCH_HAS_ELF_RANDOMIZE select ARCH_HAS_ELF_RANDOMIZE
select ARCH_HAS_FORTIFY_SOURCE select ARCH_HAS_FORTIFY_SOURCE
select ARCH_HAS_KCOV select ARCH_HAS_KCOV
select ARCH_HAS_MEMBARRIER_SYNC_CORE
select ARCH_HAS_PTE_SPECIAL if ARM_LPAE select ARCH_HAS_PTE_SPECIAL if ARM_LPAE
select ARCH_HAS_PHYS_TO_DMA select ARCH_HAS_PHYS_TO_DMA
select ARCH_HAS_SET_MEMORY select ARCH_HAS_SET_MEMORY
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册