1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/powerpc/dscr
Benjamin Gray 5c20de5788 selftests/powerpc: Add {read,write}_{long,ulong}
Add helper functions to read and write (unsigned) long values directly
from/to files. One of the kernel interfaces uses hex strings, so we need
to allow passing a base too.

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230203003947.38033-5-bgray@linux.ibm.com
2023-02-09 23:56:45 +11:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
dscr.h selftests/powerpc: Add {read,write}_{long,ulong} 2023-02-09 23:56:45 +11:00
dscr_default_test.c selftests/powerpc: Don't run DSCR tests on old systems 2020-09-08 22:24:02 +10:00
dscr_explicit_test.c selftests/powerpc: Don't run DSCR tests on old systems 2020-09-08 22:24:02 +10:00
dscr_inherit_exec_test.c selftests/powerpc: Don't run DSCR tests on old systems 2020-09-08 22:24:02 +10:00
dscr_inherit_test.c selftests/powerpc: Don't run DSCR tests on old systems 2020-09-08 22:24:02 +10:00
dscr_sysfs_test.c selftests/powerpc: Add {read,write}_{long,ulong} 2023-02-09 23:56:45 +11:00
dscr_sysfs_thread_test.c selftests/powerpc: Don't run DSCR tests on old systems 2020-09-08 22:24:02 +10:00
dscr_user_test.c selftests/powerpc: Don't run DSCR tests on old systems 2020-09-08 22:24:02 +10:00
Makefile selftests/powerpc: Don't run DSCR tests on old systems 2020-09-08 22:24:02 +10:00
settings selftests/powerpc: Turn off timeout setting for benchmarks, dscr, signal, tm 2020-03-25 12:09:30 +11:00