]> www.infradead.org Git - users/willy/xarray.git/commit
selftest: run vector prctl test for ZVE32X
authorAndy Chiu <andy.chiu@sifive.com>
Thu, 9 May 2024 16:26:58 +0000 (00:26 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 30 May 2024 21:33:11 +0000 (14:33 -0700)
commitedc96a2b4c793c21ffae285d3122b6a67a63da60
tree30f866788ba553298bfd1a915d01f90b2b5e08d6
parentac295b67422d1a6627866453543b4880ab144572
selftest: run vector prctl test for ZVE32X

The minimal requirement for running Vector subextension on Linux is
ZVE32X. So change the test accordingly to run prctl as long as it find
it.

Signed-off-by: Andy Chiu <andy.chiu@sifive.com>
Link: https://lore.kernel.org/r/20240510-zve-detection-v5-8-0711bdd26c12@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
tools/testing/selftests/riscv/vector/vstate_prctl.c