]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2dd35eefa568019d406afc2e0c37e1a678b6456
treeba2cee80f5518a5374c26b060e8250a35a94353d
parentf7fe3be30e11eb42c5391abc14235ed7e0b2db29
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]