Re: [PATCH 1/7] arm: Add livepatch arch specific code

2017-01-16 Thread Miroslav Benes
On Tue, 6 Dec 2016, Abel Vesa wrote: > klp_get_ftrace_location is used by ftrace to get the entry for a > specific function from the mcount list. klp_arch_set_pc is used > to set the pc from the regs passed as an argument to the > ftrace_ops_no_ops function to the starting address of the patched >

[PATCH 1/7] arm: Add livepatch arch specific code

2016-12-06 Thread Abel Vesa
klp_get_ftrace_location is used by ftrace to get the entry for a specific function from the mcount list. klp_arch_set_pc is used to set the pc from the regs passed as an argument to the ftrace_ops_no_ops function to the starting address of the patched function. klp_write_module_reloc is not doing a