mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2026-02-24 07:48:40 +01:00
commit bb85d206be208bbf834883e948125a35ac59993a upstream.
Ensure that in the ftrace direct call logic, the CPU register state
(with ra = parent return address) is restored to the correct state after
the execution of the custom trampoline function and before returning to
the traced function. Additionally, guarantee the correctness of the jump
logic for jr t0 (traced function address).
Cc: stable@vger.kernel.org
Fixes:
|
||
|---|---|---|
| .. | ||
| ftrace-direct-modify.c | ||
| ftrace-direct-multi-modify.c | ||
| ftrace-direct-multi.c | ||
| ftrace-direct-too.c | ||
| ftrace-direct.c | ||
| ftrace-ops.c | ||
| Makefile | ||
| sample-trace-array.c | ||
| sample-trace-array.h | ||