diff options
author | Kristina Martsenko <kristina.martsenko@arm.com> | 2024-09-30 19:10:51 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2024-10-17 18:42:51 +0300 |
commit | ce6b5ff5f16dd9267d62d09b3af3f0c7dc3c24f0 (patch) | |
tree | 6d39cb89756a35b3accf70489c2350d996e3efb0 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 836ed3c4e473fef9e0814a2ba6dd40f9656c03f1 (diff) | |
download | linux-ce6b5ff5f16dd9267d62d09b3af3f0c7dc3c24f0.tar.xz |
arm64: lib: Use MOPS for copy_page() and clear_page()
Similarly to what was done to the memcpy() routines, make copy_page()
and clear_page() also use the Armv8.8 FEAT_MOPS instructions.
Note: For copy_page() this uses the CPY* instructions instead of CPYF*
as CPYF* doesn't allow src and dst to be equal. It's not clear if
copy_page() needs to allow equal src and dst but it has worked so far
with the current implementation and there is no documentation forbidding
it.
Note, the unoptimized version of copy_page() in assembler.h is left as
it is.
Signed-off-by: Kristina Martsenko <kristina.martsenko@arm.com>
Link: https://lore.kernel.org/r/20240930161051.3777828-6-kristina.martsenko@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions