diff options
author | Palmer Dabbelt <palmer@rivosinc.com> | 2022-03-23 01:48:59 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-03-23 02:20:37 +0300 |
commit | bbde015227e89f1da21bd3b84523d62c4a445c06 (patch) | |
tree | 92f1ed47d77055a7ac9b75edac36a2798677610b /arch/riscv/Kconfig | |
parent | 6ae1af9ca0e81f7123d36eae9bf25de63722fbf6 (diff) | |
parent | 6d1a6f464efd596779d1b272b3dc8170c5fa189f (diff) | |
download | linux-bbde015227e89f1da21bd3b84523d62c4a445c06.tar.xz |
RISC-V: add support for restartable sequences
Add support for RSEQ, restartable sequences, for RISC-V. This also adds
support for the related selftests.
Note: the selftests require a linker with 3e7bd7f2414 ("RISC-V: Fix
linker problems with tls copy relocs."), which was first released in
2.33 (from 2019).
* palmer/riscv-rseq:
rseq/selftests: Add support for RISC-V
RISC-V: Add support for restartable sequence
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r-- | arch/riscv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 339ba6f6580d..f58ad31b9767 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -101,6 +101,7 @@ config RISCV select HAVE_FUNCTION_ARG_ACCESS_API select HAVE_STACKPROTECTOR select HAVE_SYSCALL_TRACEPOINTS + select HAVE_RSEQ select IRQ_DOMAIN select IRQ_FORCED_THREADING select MODULES_USE_ELF_RELA if MODULES |