Re: [PATCH RFC] MIPS: livepatch: Add LIVEPATCH basic code

2021-03-10 Thread Jinyang He
On 03/10/2021 04:18 PM, Miroslav Benes wrote: Hi, I cannot really comment on mips arch specifics but few words from the live patching perspective. Thanks for your reply. :-) On Mon, 1 Mar 2021, Jinyang He wrote: Add the basic code of livepatch. livepatch is temporarily unavailable. Two

Re: [PATCH RFC] MIPS: livepatch: Add LIVEPATCH basic code

2021-03-10 Thread Miroslav Benes
Hi, I cannot really comment on mips arch specifics but few words from the live patching perspective. On Mon, 1 Mar 2021, Jinyang He wrote: > Add the basic code of livepatch. livepatch is temporarily unavailable. > Two core functions are missing, one is DYNAMIC_FTRACE_WITH_REGS, and > another

[PATCH RFC] MIPS: livepatch: Add LIVEPATCH basic code

2021-03-01 Thread Jinyang He
Add the basic code of livepatch. livepatch is temporarily unavailable. Two core functions are missing, one is DYNAMIC_FTRACE_WITH_REGS, and another is save_stack_trace_tsk_reliable(). `Huang Pei ` is doing for ftrace. He will use `-fpatchable-function-entry` to achieve more complete ftrace.