Re: [EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-20 Thread Will Deacon
On Mon, May 18, 2015 at 02:17:05PM +0100, Vaneet Narang wrote: > >Ok, so my first point shouldn't be a problem if we're just emulating the > >instruction. However, I still think there are corner cases. For example, > >imagine hitting a breakpoint on a ldr pc, [&foo] instruction where we've > >also

Re: [EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-18 Thread Vaneet Narang
EP-2DAD0AFA905A4ACB804C4F82A001242F > >Ok, I have to ask: what on Earth is this number and what does [EDT] mean? This is auto generated from our editor. Kindly ignore its not relevant. Please find reply inline. >> >On Tue, May 12, 2015 at 02:12:54PM +0100, Vaneet Narang wrote: >> >> On Tue, May

Re: [EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-13 Thread Will Deacon
On Wed, May 13, 2015 at 06:14:30AM +0100, Vaneet Narang wrote: > EP-2DAD0AFA905A4ACB804C4F82A001242F Ok, I have to ask: what on Earth is this number and what does [EDT] mean? > >On Tue, May 12, 2015 at 02:12:54PM +0100, Vaneet Narang wrote: > >> On Tue, May 12, 2015 at 12:48:13PM +0100, Maninder

Re: [EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-12 Thread Vaneet Narang
EP-2DAD0AFA905A4ACB804C4F82A001242F >On Tue, May 12, 2015 at 02:12:54PM +0100, Vaneet Narang wrote: >> On Tue, May 12, 2015 at 12:48:13PM +0100, Maninder Singh wrote: >> >> On ARM, when a watchpoint is registered using >> >> register_wide_hw_breakpoint, >> >> the callback handler endlessly runs

Re: Fwd: Re: Re: [EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-12 Thread Will Deacon
On Tue, May 12, 2015 at 02:12:54PM +0100, Vaneet Narang wrote: > On Tue, May 12, 2015 at 12:48:13PM +0100, Maninder Singh wrote: > >> On ARM, when a watchpoint is registered using register_wide_hw_breakpoint, > >> the callback handler endlessly runs until the watchpoint is unregistered. > >> The r

Fwd: Re: Re: [EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-12 Thread Vaneet Narang
On Tue, May 12, 2015 at 12:48:13PM +0100, Maninder Singh wrote: >> EP-2DAD0AFA905A4ACB804C4F82A001242F >> >> On ARM, when a watchpoint is registered using register_wide_hw_breakpoint, >> the callback handler endlessly runs until the watchpoint is unregistered. >> The reason for this issue is debu

Re: [EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-12 Thread Will Deacon
On Tue, May 12, 2015 at 12:48:13PM +0100, Maninder Singh wrote: > EP-2DAD0AFA905A4ACB804C4F82A001242F > > On ARM, when a watchpoint is registered using register_wide_hw_breakpoint, > the callback handler endlessly runs until the watchpoint is unregistered. > The reason for this issue is debug int

[EDT] [PATCH 1/1] Fix: hw watchpoint continually triggers callback

2015-05-12 Thread Maninder Singh
EP-2DAD0AFA905A4ACB804C4F82A001242F On ARM, when a watchpoint is registered using register_wide_hw_breakpoint, the callback handler endlessly runs until the watchpoint is unregistered. The reason for this issue is debug interrupts gets raised before executing the instruction, and after interrupt