Re: [PATCH 4/7] arm: Add ftrace with regs support

2016-12-07 Thread Abel Vesa
On Wed, Dec 07, 2016 at 11:58:24AM +, Robin Murphy wrote: > Hi Abel, > > On 06/12/16 17:06, Abel Vesa wrote: > > This adds __ftrace_regs_caller which, unlike __ftrace_caller, > > adds register saving/restoring and livepatch handling if > > the pc register gets modified by klp_ftrace_handler. >

Re: [PATCH 4/7] arm: Add ftrace with regs support

2016-12-07 Thread Robin Murphy
Hi Abel, On 06/12/16 17:06, Abel Vesa wrote: > This adds __ftrace_regs_caller which, unlike __ftrace_caller, > adds register saving/restoring and livepatch handling if > the pc register gets modified by klp_ftrace_handler. > > Signed-off-by: Abel Vesa > --- > arch/arm/kernel/entry-ftrace.S | 49

Re: [PATCH 4/7] arm: Add ftrace with regs support

2016-12-07 Thread Russell King - ARM Linux
On Tue, Dec 06, 2016 at 05:06:04PM +, Abel Vesa wrote: > This adds __ftrace_regs_caller which, unlike __ftrace_caller, > adds register saving/restoring and livepatch handling if > the pc register gets modified by klp_ftrace_handler. > > Signed-off-by: Abel Vesa > --- > arch/arm/kernel/entry-

Re: [PATCH 4/7] arm: Add ftrace with regs support

2016-12-06 Thread Steven Rostedt
On Tue, 6 Dec 2016 17:06:04 + Abel Vesa wrote: > This adds __ftrace_regs_caller which, unlike __ftrace_caller, > adds register saving/restoring and livepatch handling if > the pc register gets modified by klp_ftrace_handler. > > Signed-off-by: Abel Vesa > --- > arch/arm/kernel/entry-ftrac

[PATCH 4/7] arm: Add ftrace with regs support

2016-12-06 Thread Abel Vesa
This adds __ftrace_regs_caller which, unlike __ftrace_caller, adds register saving/restoring and livepatch handling if the pc register gets modified by klp_ftrace_handler. Signed-off-by: Abel Vesa --- arch/arm/kernel/entry-ftrace.S | 49 ++ 1 file changed,