Hi,Thanks for your reply. :-)
I cannot really comment on mips arch specifics but few words from the live
patching perspective.
Huang Pei had told me, and the follow link explains it detaily.
On Mon, 1 Mar 2021, Jinyang He wrote:
Add the basic code of livepatch. livepatch is temporarily unavailable.DYNAMIC_FTRACE_WITH_ARGS has been introduced recently, so you might also
Two core functions are missing, one is DYNAMIC_FTRACE_WITH_REGS, and
another is save_stack_trace_tsk_reliable().
`Huang Pei <huangpei@xxxxxxxxxxx>` is doing for ftrace. He will use
`-fpatchable-function-entry` to achieve more complete ftrace.
look at that. As far as the live patching is concerned,
DYNAMIC_FTRACE_WITH_ARGS is sufficient.
And Maciej answered many questions for me about reliable stacktrace.save_stack_trace_tsk_reliable() currently has difficulties. This functionYou may want to look at Documentation/livepatch/reliable-stacktrace.rst
may be improved in the future, but that seems to be a long time away.
This is also the reason for delivering this RFC. Hope to get any help.
which nicely describes the requirements for the reliable stacktraces.
RegardsThanks,
Miroslav