Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-04-08 Thread Pratyush Anand
On 08/04/2016:04:07:12 PM, Li Bin wrote: > > > on 2016/4/8 13:14, Pratyush Anand wrote: > > Hi Li, > > > > On 07/04/2016:07:34:37 PM, Li Bin wrote: > >> Hi Pratyush, > >> > >> on 2016/4/4 13:17, Pratyush Anand wrote: > >>> Hi Li, > >>> > >>> On 31/03/2016:08:45:05 PM, Li Bin wrote: > Hi

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-04-08 Thread Pratyush Anand
On 08/04/2016:04:07:12 PM, Li Bin wrote: > > > on 2016/4/8 13:14, Pratyush Anand wrote: > > Hi Li, > > > > On 07/04/2016:07:34:37 PM, Li Bin wrote: > >> Hi Pratyush, > >> > >> on 2016/4/4 13:17, Pratyush Anand wrote: > >>> Hi Li, > >>> > >>> On 31/03/2016:08:45:05 PM, Li Bin wrote: > Hi

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-04-08 Thread Li Bin
on 2016/4/8 13:14, Pratyush Anand wrote: > Hi Li, > > On 07/04/2016:07:34:37 PM, Li Bin wrote: >> Hi Pratyush, >> >> on 2016/4/4 13:17, Pratyush Anand wrote: >>> Hi Li, >>> >>> On 31/03/2016:08:45:05 PM, Li Bin wrote: Hi Pratyush, on 2016/3/21 18:24, Pratyush Anand wrote: >

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-04-08 Thread Li Bin
on 2016/4/8 13:14, Pratyush Anand wrote: > Hi Li, > > On 07/04/2016:07:34:37 PM, Li Bin wrote: >> Hi Pratyush, >> >> on 2016/4/4 13:17, Pratyush Anand wrote: >>> Hi Li, >>> >>> On 31/03/2016:08:45:05 PM, Li Bin wrote: Hi Pratyush, on 2016/3/21 18:24, Pratyush Anand wrote: >

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-04-07 Thread Pratyush Anand
Hi Li, On 07/04/2016:07:34:37 PM, Li Bin wrote: > Hi Pratyush, > > on 2016/4/4 13:17, Pratyush Anand wrote: > > Hi Li, > > > > On 31/03/2016:08:45:05 PM, Li Bin wrote: > >> Hi Pratyush, > >> > >> on 2016/3/21 18:24, Pratyush Anand wrote: > >>> On 21/03/2016:08:37:50 AM, He Kuang wrote: >

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-04-07 Thread Pratyush Anand
Hi Li, On 07/04/2016:07:34:37 PM, Li Bin wrote: > Hi Pratyush, > > on 2016/4/4 13:17, Pratyush Anand wrote: > > Hi Li, > > > > On 31/03/2016:08:45:05 PM, Li Bin wrote: > >> Hi Pratyush, > >> > >> on 2016/3/21 18:24, Pratyush Anand wrote: > >>> On 21/03/2016:08:37:50 AM, He Kuang wrote: >

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-04-07 Thread Li Bin
Hi Pratyush, on 2016/4/4 13:17, Pratyush Anand wrote: > Hi Li, > > On 31/03/2016:08:45:05 PM, Li Bin wrote: >> Hi Pratyush, >> >> on 2016/3/21 18:24, Pratyush Anand wrote: >>> On 21/03/2016:08:37:50 AM, He Kuang wrote: On arm64, watchpoint handler enables single-step to bypass the next

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-04-07 Thread Li Bin
Hi Pratyush, on 2016/4/4 13:17, Pratyush Anand wrote: > Hi Li, > > On 31/03/2016:08:45:05 PM, Li Bin wrote: >> Hi Pratyush, >> >> on 2016/3/21 18:24, Pratyush Anand wrote: >>> On 21/03/2016:08:37:50 AM, He Kuang wrote: On arm64, watchpoint handler enables single-step to bypass the next

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-04-03 Thread Pratyush Anand
Hi Li, On 31/03/2016:08:45:05 PM, Li Bin wrote: > Hi Pratyush, > > on 2016/3/21 18:24, Pratyush Anand wrote: > > On 21/03/2016:08:37:50 AM, He Kuang wrote: > >> On arm64, watchpoint handler enables single-step to bypass the next > >> instruction for not recursive enter. If an irq is triggered

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-04-03 Thread Pratyush Anand
Hi Li, On 31/03/2016:08:45:05 PM, Li Bin wrote: > Hi Pratyush, > > on 2016/3/21 18:24, Pratyush Anand wrote: > > On 21/03/2016:08:37:50 AM, He Kuang wrote: > >> On arm64, watchpoint handler enables single-step to bypass the next > >> instruction for not recursive enter. If an irq is triggered

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-03-31 Thread Li Bin
Hi Pratyush, on 2016/3/21 18:24, Pratyush Anand wrote: > On 21/03/2016:08:37:50 AM, He Kuang wrote: >> On arm64, watchpoint handler enables single-step to bypass the next >> instruction for not recursive enter. If an irq is triggered right >> after the watchpoint, a single-step will be wrongly

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-03-31 Thread Li Bin
Hi Pratyush, on 2016/3/21 18:24, Pratyush Anand wrote: > On 21/03/2016:08:37:50 AM, He Kuang wrote: >> On arm64, watchpoint handler enables single-step to bypass the next >> instruction for not recursive enter. If an irq is triggered right >> after the watchpoint, a single-step will be wrongly

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-03-21 Thread Pratyush Anand
On 21/03/2016:06:38:31 PM, Wangnan (F) wrote: > > > On 2016/3/21 18:24, Pratyush Anand wrote: > >On 21/03/2016:08:37:50 AM, He Kuang wrote: > >>On arm64, watchpoint handler enables single-step to bypass the next > >>instruction for not recursive enter. If an irq is triggered right > >>after the

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-03-21 Thread Pratyush Anand
On 21/03/2016:06:38:31 PM, Wangnan (F) wrote: > > > On 2016/3/21 18:24, Pratyush Anand wrote: > >On 21/03/2016:08:37:50 AM, He Kuang wrote: > >>On arm64, watchpoint handler enables single-step to bypass the next > >>instruction for not recursive enter. If an irq is triggered right > >>after the

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-03-21 Thread Wangnan (F)
On 2016/3/21 18:24, Pratyush Anand wrote: On 21/03/2016:08:37:50 AM, He Kuang wrote: On arm64, watchpoint handler enables single-step to bypass the next instruction for not recursive enter. If an irq is triggered right after the watchpoint, a single-step will be wrongly triggered in irq

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-03-21 Thread Wangnan (F)
On 2016/3/21 18:24, Pratyush Anand wrote: On 21/03/2016:08:37:50 AM, He Kuang wrote: On arm64, watchpoint handler enables single-step to bypass the next instruction for not recursive enter. If an irq is triggered right after the watchpoint, a single-step will be wrongly triggered in irq

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-03-21 Thread Pratyush Anand
On 21/03/2016:08:37:50 AM, He Kuang wrote: > On arm64, watchpoint handler enables single-step to bypass the next > instruction for not recursive enter. If an irq is triggered right > after the watchpoint, a single-step will be wrongly triggered in irq > handler, which causes the watchpoint address

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-03-21 Thread Pratyush Anand
On 21/03/2016:08:37:50 AM, He Kuang wrote: > On arm64, watchpoint handler enables single-step to bypass the next > instruction for not recursive enter. If an irq is triggered right > after the watchpoint, a single-step will be wrongly triggered in irq > handler, which causes the watchpoint address

[PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-03-21 Thread He Kuang
On arm64, watchpoint handler enables single-step to bypass the next instruction for not recursive enter. If an irq is triggered right after the watchpoint, a single-step will be wrongly triggered in irq handler, which causes the watchpoint address not stepped over and system hang. Problem can be

[PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-03-21 Thread He Kuang
On arm64, watchpoint handler enables single-step to bypass the next instruction for not recursive enter. If an irq is triggered right after the watchpoint, a single-step will be wrongly triggered in irq handler, which causes the watchpoint address not stepped over and system hang. Problem can be