[PATCH v5 2/8] arm64/runtime-const: Use aarch64_insn_patch_text_nosync() for patching

Charlie Jenkins thecharlesjenkins at gmail.com
Fri Jul 10 00:52:39 PDT 2026


On Tue, 30 Jun 2026 04:55:25 +0000, K Prateek Nayak <kprateek.nayak at amd.com> wrote:
> The current scheme to directly patch the kernel text for runtime
> constants runs into the following issue with futex adapted to using
> runtime constants on arm64:
> 
>   Unable to handle kernel write to read-only memory at virtual address ...
> 
> The pc points to the *p assignment in the following call chain:
> 
> [...]

Reviewed-by: Charlie Jenkins <thecharlesjenkins at gmail.com>
Tested-by: Charlie Jenkins <thecharlesjenkins at gmail.com>

-- 
- Charlie




More information about the linux-riscv mailing list