linux-stable/tools/testing/selftests/powerpc/copyloops
Michael Ellerman 8488cdcb00 powerpc/64s: Move dcbt/dcbtst sequence into a macro
There's an almost identical code sequence to specify load/store access
hints in __copy_tofrom_user_power7(), copypage_power7() and
memcpy_power7().

Move the sequence into a common macro, which is passed the registers to
use as they differ slightly.

There also needs to be a copy in the selftests, it could be shared in
future if the headers are cleaned up / refactored.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240229122521.762431-1-mpe@ellerman.id.au
2024-03-03 23:05:21 +11:00
..
asm powerpc/64s: Move dcbt/dcbtst sequence into a macro 2024-03-03 23:05:21 +11:00
linux powerpc: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-16 23:54:48 +10:00
.gitignore selftests/powerpc/copyloops: Add memmove_64 test 2022-02-12 22:47:44 +11:00
Makefile selftests/powerpc/copyloops: Add memmove_64 test 2022-02-12 22:47:44 +11:00
copy_mc_64.S x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}() 2020-10-06 11:18:04 +02: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
copyuser_power7.S
exc_validate.c selftests/powerpc/64: Test exception cases in copy_tofrom_user 2018-08-08 00:32:35 +10:00
mem_64.S selftests/powerpc/copyloops: Add memmove_64 test 2022-02-12 22:47:44 +11:00
memcpy_64.S
memcpy_power7.S
memcpy_stubs.S selftests/powerpc/copyloops: Add memmove_64 test 2022-02-12 22:47:44 +11:00
memmove_validate.c selftests/powerpc/copyloops: Add memmove_64 test 2022-02-12 22:47:44 +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