Re: [RFC 6/8] ARM64: Handle TRAP_HWBRKPT for user mode as well

2015-01-08 Thread Pratyush Anand
On Thursday 08 January 2015 10:31 PM, Will Deacon wrote: On Fri, Jan 02, 2015 at 06:05:23PM +, Oleg Nesterov wrote: Let me repeat once again that I know absolutely nothing about arm* ;) On 12/31, Pratyush Anand wrote: uprobe registers a handler at step_hook. So, single_step_handler now

Re: [RFC 6/8] ARM64: Handle TRAP_HWBRKPT for user mode as well

2015-01-08 Thread Will Deacon
On Fri, Jan 02, 2015 at 06:05:23PM +, Oleg Nesterov wrote: > Let me repeat once again that I know absolutely nothing about arm* ;) > > On 12/31, Pratyush Anand wrote: > > > > uprobe registers a handler at step_hook. So, single_step_handler now > > checks for user mode as well if there is a val

Re: [RFC 6/8] ARM64: Handle TRAP_HWBRKPT for user mode as well

2015-01-02 Thread Oleg Nesterov
Let me repeat once again that I know absolutely nothing about arm* ;) On 12/31, Pratyush Anand wrote: > > uprobe registers a handler at step_hook. So, single_step_handler now > checks for user mode as well if there is a valid hook. > > Signed-off-by: Pratyush Anand > --- > arch/arm64/kernel/debu

[RFC 6/8] ARM64: Handle TRAP_HWBRKPT for user mode as well

2014-12-31 Thread Pratyush Anand
uprobe registers a handler at step_hook. So, single_step_handler now checks for user mode as well if there is a valid hook. Signed-off-by: Pratyush Anand --- arch/arm64/kernel/debug-monitors.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/kernel/debug-monit