RISC-V: add support for restartable sequences
authorPalmer Dabbelt <palmer@rivosinc.com>
Tue, 22 Mar 2022 22:48:59 +0000 (15:48 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 22 Mar 2022 23:20:37 +0000 (16:20 -0700)
commitbbde015227e89f1da21bd3b84523d62c4a445c06
tree92f1ed47d77055a7ac9b75edac36a2798677610b
parent6ae1af9ca0e81f7123d36eae9bf25de63722fbf6
parent6d1a6f464efd596779d1b272b3dc8170c5fa189f
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
arch/riscv/Kconfig