]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: extable: Add fixup handling for uaccess CPY* instructions
authorKristina Martšenko <kristina.martsenko@arm.com>
Fri, 28 Feb 2025 17:00:04 +0000 (17:00 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 7 Mar 2025 16:18:06 +0000 (16:18 +0000)
commit653884f88777b8858ef438cd8ee6ae4722fd5553
tree36ba93c834341b402f5748b7c4c934aadd4a671a
parent0ad2507d5d93f39619fc42372c347d6006b64319
arm64: extable: Add fixup handling for uaccess CPY* instructions

A subsequent patch will use CPY* instructions to copy between user and
kernel memory. Add a new exception fixup type to avoid fixing up faults
on kernel memory accesses, in order to make it easier to debug kernel
bugs and to keep the same behavior as with regular loads/stores.

Signed-off-by: Kristina Martšenko <kristina.martsenko@arm.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20250228170006.390100-2-kristina.martsenko@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/asm-extable.h
arch/arm64/include/asm/extable.h
arch/arm64/mm/extable.c
arch/arm64/mm/fault.c