diff options
| author | Kristina Martsenko <[email protected]> | 2024-09-30 16:10:51 +0000 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2024-10-17 15:42:51 +0000 |
| commit | ce6b5ff5f16dd9267d62d09b3af3f0c7dc3c24f0 (patch) | |
| tree | 6d39cb89756a35b3accf70489c2350d996e3efb0 /drivers/usb/cdns3/cdns3-plat.c | |
| parent | arm64: lib: Use MOPS for memcpy() routines (diff) | |
| download | kernel-ce6b5ff5f16dd9267d62d09b3af3f0c7dc3c24f0.tar.gz kernel-ce6b5ff5f16dd9267d62d09b3af3f0c7dc3c24f0.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions
