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
This commit is contained in:
Palmer Dabbelt 2022-03-22 15:48:59 -07:00
commit bbde015227
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
6 changed files with 709 additions and 0 deletions