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

Nam Cao namcao at linutronix.de
Mon Jul 20 00:11:37 PDT 2026


Xiaofeng Yuan <xiaofengmian at 163.com> 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 at linutronix.de>



More information about the linux-riscv mailing list