selftests/powerpc/copyloops: Add memmove_64 test
authorRitesh Harjani <riteshh@linux.ibm.com>
Mon, 13 Sep 2021 06:17:20 +0000 (11:47 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 12 Feb 2022 11:47:44 +0000 (22:47 +1100)
commit2504e5b9827f7fc76ed0e4593adc852ac7a19851
treeba2cee80f5518a5374c26b060e8250a35a94353d
parent92e6dc257bd5771cf8db662e4d371fdb58fcbf43
selftests/powerpc/copyloops: Add memmove_64 test

While debugging an issue, we wanted to check whether the arch specific
kernel memmove implementation is correct.
This selftest could help test that.

Suggested-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Suggested-by: Vaibhav Jain <vaibhav@linux.ibm.com>
Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/57242c1fe7aba6b7f0fcd0490303bfd5f222ee00.1631512686.git.riteshh@linux.ibm.com
tools/testing/selftests/powerpc/copyloops/.gitignore
tools/testing/selftests/powerpc/copyloops/Makefile
tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h
tools/testing/selftests/powerpc/copyloops/mem_64.S [new symlink]
tools/testing/selftests/powerpc/copyloops/memcpy_stubs.S [new file with mode: 0644]
tools/testing/selftests/powerpc/copyloops/memmove_validate.c [new file with mode: 0644]