linux_dsm_epyc7002/tools/testing/selftests/powerpc/copyloops
Michael Ellerman 2679f63fe5 selftests/powerpc/64: Test exception cases in copy_tofrom_user
This adds a set of test cases to test the behaviour of
copy_tofrom_user when exceptions are encountered accessing the
source or destination.  Currently, copy_tofrom_user does not always
copy as many bytes as possible when an exception occurs on a store
to the destination, and that is reflected in failures in these tests.

Based on a test program from Anton Blanchard.

[paulus@ozlabs.org - test all three paths, wrote commit description,
 made EX_TABLE create an exception table.]

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-08-08 00:32:35 +10:00
..
asm selftests/powerpc/64: Test exception cases in copy_tofrom_user 2018-08-08 00:32:35 +10:00
.gitignore selftests/powerpc/64: Test exception cases in copy_tofrom_user 2018-08-08 00:32:35 +10:00
copy_tofrom_user_reference.S selftests/powerpc/64: Test exception cases in copy_tofrom_user 2018-08-08 00:32:35 +10:00
copyuser_64.S selftests/powerpc: Import Anton's memcpy / copy_tofrom_user tests 2014-03-07 15:53:12 +11:00
copyuser_power7.S selftests/powerpc: Import Anton's memcpy / copy_tofrom_user tests 2014-03-07 15:53:12 +11:00
exc_validate.c selftests/powerpc/64: Test exception cases in copy_tofrom_user 2018-08-08 00:32:35 +10:00
Makefile selftests/powerpc/64: Test exception cases in copy_tofrom_user 2018-08-08 00:32:35 +10:00
memcpy_64.S selftests/powerpc: Import Anton's memcpy / copy_tofrom_user tests 2014-03-07 15:53:12 +11:00
memcpy_power7.S selftests/powerpc: Import Anton's memcpy / copy_tofrom_user tests 2014-03-07 15:53:12 +11:00
stubs.S selftests/powerpc/64: Test exception cases in copy_tofrom_user 2018-08-08 00:32:35 +10:00
validate.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00