Re: [PATCH v4 0/2] riscv: fix kprobes on minimal kernel configs
From: Nam Cao
Date: Mon Jul 20 2026 - 03:11:48 EST
Xiaofeng Yuan <xiaofengmian@xxxxxxx> writes:
> 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.
Reviewed-by: Nam Cao <namcao@xxxxxxxxxxxxx>