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

From: Paul Walmsley

Date: Thu Aug 06 2026 - 22:03:37 EST


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