[PATCH v2 0/3] arm64: Use memory copy instructions in usercopy routines
Catalin Marinas
catalin.marinas at arm.com
Fri Mar 7 11:23:33 PST 2025
On Fri, 28 Feb 2025 17:00:03 +0000, Kristina Martšenko wrote:
> This is a follow-up to the series using CPY/SET instructions in the kernel's
> memory copy routines [1]. This series extends that to the usercopy routines.
> This required some additions to exception fixups since a CPY instruction
> accesses both user and kernel memory.
>
> Changes in v2:
> - Improved readability of cpy_faulted_on_uaccess()
> - v1: https://lore.kernel.org/all/20250218171430.28227-1-kristina.martsenko@arm.com/
>
> [...]
Applied to arm64 (for-next/uaccess-mops), thanks!
I made some modifications to patch 2 as per Robin's suggestion.
[1/3] arm64: extable: Add fixup handling for uaccess CPY* instructions
https://git.kernel.org/arm64/c/653884f88777
[2/3] arm64: mm: Handle PAN faults on uaccess CPY* instructions
https://git.kernel.org/arm64/c/04a9f771d81c
[3/3] arm64: lib: Use MOPS for usercopy routines
https://git.kernel.org/arm64/c/fe59e0358d9b
--
Catalin
More information about the linux-arm-kernel
mailing list