linux/arch/arm64/kernel/pi
Adrian Barnaś 6d4a0fbd34 arm64: Fail module loading if dynamic SCS patching fails
Disallow a module to load if SCS dynamic patching fails for its code. For
module loading, instead of running a dry-run to check for patching errors,
try to run patching in the first run and propagate any errors so module
loading will fail.

Signed-off-by: Adrian Barnaś <abarnas@google.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
2025-11-07 15:00:09 +00:00
..
.gitignore arm64: gitignore: ignore relacheck 2024-02-22 21:57:52 +00:00
Makefile arm64 updates for 6.17: 2025-07-29 20:21:54 -07:00
idreg-override.c arm64: Add override for MPAM 2025-06-02 13:49:09 +01:00
kaslr_early.c arm64/mm: Remove randomization of the linear map 2025-04-29 13:21:49 +01:00
map_kernel.c arm64: Fail module loading if dynamic SCS patching fails 2025-11-07 15:00:09 +00:00
map_range.c arm64: mm: Represent physical memory with phys_addr_t and resource_size_t 2025-09-16 20:39:49 +01:00
patch-scs.c arm64: Fail module loading if dynamic SCS patching fails 2025-11-07 15:00:09 +00:00
pi.h arm64: Fail module loading if dynamic SCS patching fails 2025-11-07 15:00:09 +00:00
relacheck.c arm64: kernel: Manage absolute relocations in code built under pi/ 2024-02-16 12:42:28 +00:00
relocate.c arm64: head: Move early kernel mapping routines into C code 2024-02-16 12:42:33 +00:00