[PATCH v4 0/2] riscv: fix kprobes on minimal kernel configs

Paul Walmsley pjw at kernel.org
Thu Aug 6 19:01:01 PDT 2026


On Mon, 20 Jul 2026, Xiaofeng Yuan wrote:

> When building with an allnoconfig-derived minimal configuration
> (without CONFIG_STRICT_MODULE_RWX), kprobes fails because
> instruction slot pages from EXECMEM_KPROBES are read-only and
> patch_map() bypasses the fixmap writable alias.
> 
> These two patches fix the infrastructure.

Thanks, queued for v7.3.


- Paul



More information about the linux-riscv mailing list