Re: [PATCH] riscv: ftrace: reject out-of-range non-direct targets
From: Steven Rostedt
Date: Mon Aug 31 2026 - 14:20:45 EST
On Mon, 31 Aug 2026 11:50:45 +0800
"Rui Qi" <qirui.001@xxxxxxxxxxxxx> wrote:
> 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.
This patch looks very architecture specific. Is there a generic ftrace
issue you have with this? "out-of-range" issues are specific to an
architecture (x86 doesn't have this issue).
You need the RISC-V maintainers to review and accept this patch. I don't
see anything specific to generic ftrace infrastructure here, which is what
I maintain.
-- Steve