OSDN Git Service

selftests: Test RISC-V Vector prctl interface
authorAndy Chiu <andy.chiu@sifive.com>
Mon, 5 Jun 2023 11:07:23 +0000 (11:07 +0000)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 8 Jun 2023 14:16:58 +0000 (07:16 -0700)
commit7cf6198ce22d92590f9aaa13431001fa97bc0b2b
tree3ad1d2b7ac3ea7f01f0b6ea35e88e255b0a3bceb
parent04a4722eeede8f83ce3fefc67b891bd8e132784a
selftests: Test RISC-V Vector prctl interface

This add a test for prctl interface that controls the use of userspace
Vector.

Signed-off-by: Andy Chiu <andy.chiu@sifive.com>
Link: https://lore.kernel.org/r/20230605110724.21391-27-andy.chiu@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
tools/testing/selftests/riscv/Makefile
tools/testing/selftests/riscv/vector/.gitignore [new file with mode: 0644]
tools/testing/selftests/riscv/vector/Makefile [new file with mode: 0644]
tools/testing/selftests/riscv/vector/vstate_exec_nolibc.c [new file with mode: 0644]
tools/testing/selftests/riscv/vector/vstate_prctl.c [new file with mode: 0644]