linux_dsm_epyc7002/tools/testing/selftests
Michael Ellerman 4cd968ef42 selftests/powerpc: Add a test of the switch_endian() syscall
This adds a test of the switch_endian() syscall we added in the previous
commit.

We test it by calling the endian switch syscall, and then executing some
code in the other endian to check everything went as expected. That code
checks registers we expect to be maintained are. If the endian switch
failed to happen that code sequence will be illegal and cause the test
to abort.

We then switch back to the original endian, do the same checks and
finally write a success message and exit(0).

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-03-28 22:08:47 +11:00
..
breakpoints selftests/breakpoints: change test to use ksft framework 2014-11-17 10:39:08 -07:00
cpu-hotplug tools: selftests - create a separate hotplug target for full range test 2014-07-11 18:13:06 -07:00
efivarfs efivars: efivarfs_valid_name() should handle pstore syntax 2013-03-06 14:46:04 +00:00
exec selftests/exec: Check if the syscall exists and bail if not 2015-03-11 10:15:19 -06:00
firmware test: add firmware_class loader test 2014-07-17 18:44:19 -07:00
ftrace ftracetest: Add --verbose option for showing echo output 2014-12-04 10:40:34 -05:00
ipc selftests/ipc: change test to use ksft framework 2014-11-17 10:39:15 -07:00
kcmp selftests/kcmp: Always try to build the test 2014-12-02 13:53:24 -07:00
memfd selftests/memfd: Run test on all architectures 2014-09-17 08:00:16 -06:00
memory-hotplug tools: selftests - create a separate hotplug target for full range test 2014-07-11 18:13:06 -07:00
mount userns: Unbreak the unprivileged remount tests 2014-12-11 18:07:07 -06:00
mqueue tools: testing: selftests: mq_perf_tests: Fix infinite loop on ARM 2015-01-06 12:55:21 -07:00
net kselftest updates for 3.19-rc1 2014-12-16 13:15:12 -08:00
powerpc selftests/powerpc: Add a test of the switch_endian() syscall 2015-03-28 22:08:47 +11:00
ptrace tools/testing/selftests/ptrace/peeksiginfo.c: add PAGE_SIZE definition 2014-08-08 15:57:25 -07:00
rcutorture Merge branches 'doc.2015.01.07a', 'fixes.2015.01.15a', 'preempt.2015.01.06a', 'srcu.2015.01.06a', 'stall.2015.01.16a' and 'torture.2015.01.11a' into HEAD 2015-01-15 23:34:34 -08:00
size selftest: size: Add size test for Linux kernel 2014-12-03 19:27:47 -07:00
sysctl tools/testing/selftests/sysctl: validate sysctl_writes_strict 2014-06-06 16:08:13 -07:00
timers selftests/timers: change test to use ksft framework 2014-11-17 10:39:30 -07:00
user selftests/user: move test out of Makefile into a shell script 2014-11-17 10:05:35 -07:00
vm selftests/vm: fix link error for transhuge-stress test 2015-01-08 09:01:00 -07:00
kselftest.h selftests: add kselftest framework for uniform test reporting 2014-11-17 10:38:56 -07:00
Makefile tools/testing/selftests/Makefile: alphasort the TARGETS list 2014-12-18 19:08:11 -08:00