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
This commit is contained in:
Ritesh Harjani
2021-09-13 11:47:20 +05:30
committed by Michael Ellerman
parent 92e6dc257b
commit 2504e5b982
6 changed files with 77 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0 */
#include <asm/ppc_asm.h>
FUNC_START(memcpy)
b test_memcpy
FUNC_START(backwards_memcpy)
b test_backwards_memcpy