[PATCH] riscv: ftrace: reject out-of-range non-direct targets

Rui Qi qirui.001 at bytedance.com
Sun Aug 30 20:50:45 PDT 2026


Hi Steven,

Gentle ping on this patch. It's been over a month since submission
and I'd appreciate your review when you have a chance.

The patch fixes ftrace_modify_call() on RISC-V to properly validate
old_addr/addr instead of always treating sites as FTRACE_ADDR, and
rejects out-of-range non-direct targets that can't be dispatched
through the existing ftrace_caller path.

Thanks,
Rui



More information about the linux-riscv mailing list