diff options
author | Stafford Horne <shorne@gmail.com> | 2024-12-12 13:33:56 +0100 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2025-01-14 18:17:16 +0100 |
commit | ca46ebffc2d2b243cc213d444e2a440489ecd4bc (patch) | |
tree | 6cbda6a345ffa47f03283c870fb40e46df7957d1 /arch/openrisc/Kconfig | |
parent | openrisc: Add HAVE_REGS_AND_STACK_ACCESS_API support (diff) | |
download | linux-ca46ebffc2d2b243cc213d444e2a440489ecd4bc.tar.xz linux-ca46ebffc2d2b243cc213d444e2a440489ecd4bc.zip |
openrisc: Add support for restartable sequences
Implement support for restartable sequences on OpenRISC by doing:
- Select HAVE_RSEQ in Kconfig
- Call rseq_syscall() on return to userspace when CONFIG_DEBUG_RSEQ
is enabled.
- Call rseq_signal_deliver() to fixup the pre-signal stack frame when a
signal is delivered on top of a restartable sequence critical section
Cc: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc/Kconfig')
-rw-r--r-- | arch/openrisc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index 607a59bc2a22..b38fee299bc4 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig @@ -28,6 +28,7 @@ config OPENRISC select HAVE_UID16 select HAVE_PAGE_SIZE_8KB select HAVE_REGS_AND_STACK_ACCESS_API + select HAVE_RSEQ select GENERIC_ATOMIC64 select GENERIC_CLOCKEVENTS_BROADCAST select GENERIC_SMP_IDLE_THREAD |