Re: Re: [PATCH] ARM: unwinder: Handle Stackoverflow in unwind_exec_insn

2013-11-25 Thread Anurag Aggarwal
Dave Martin Date : Nov 23, 2013 01:07 (GMT+05:30) Title : Re: [PATCH] ARM: unwinder: Handle Stackoverflow in unwind_exec_insn On Sat, Nov 09, 2013 at 12:28:57PM +0530, Anurag Aggarwal wrote: > Thanks for your input Dave, > > I think there is another way to avoid the stack overflow and reduc

Re: [PATCH] ARM: unwinder: Handle Stackoverflow in unwind_exec_insn

2013-11-22 Thread Dave Martin
On Sat, Nov 09, 2013 at 12:28:57PM +0530, Anurag Aggarwal wrote: > Thanks for your input Dave, > > I think there is another way to avoid the stack overflow and reduce > the number of checks also, > > Stack overflow will cause a problem only when we are backtracking the > last set of registers. >

Re: [PATCH] ARM: unwinder: Handle Stackoverflow in unwind_exec_insn

2013-11-08 Thread Anurag Aggarwal
Thanks for your input Dave, I think there is another way to avoid the stack overflow and reduce the number of checks also, Stack overflow will cause a problem only when we are backtracking the last set of registers. i.e when the difference between current SP and top of stack is less than or equal

Re: [PATCH] ARM: unwinder: Handle Stackoverflow in unwind_exec_insn

2013-11-08 Thread Dave Martin
On Wed, Nov 06, 2013 at 03:20:48PM +0530, Anurag Aggarwal wrote: > Altough stack overflow is expected in unwind_exec_insn, but in cases when > area beyond stack is not mapped to physical memory this can cause data abort. > > To avoid above condition handle stack overflow in unwind_exec_insn by

[PATCH] ARM: unwinder: Handle Stackoverflow in unwind_exec_insn

2013-11-06 Thread Anurag Aggarwal
Altough stack overflow is expected in unwind_exec_insn, but in cases when area beyond stack is not mapped to physical memory this can cause data abort. To avoid above condition handle stack overflow in unwind_exec_insn by checking vsp pointer from top of stack Signed-off-by: Anurag Aggarwal -