Re: [PATCH] powerpc/8xx: fix single_step debug

2016-08-18 Thread Christophe Leroy
Le 18/08/2016 à 12:16, Gabriel Paubert a écrit : On Thu, Aug 18, 2016 at 12:13:21PM +0200, Christophe Leroy wrote: Le 18/08/2016 à 11:58, Gabriel Paubert a écrit : On Thu, Aug 18, 2016 at 11:44:20AM +0200, Christophe Leroy wrote: SPRN_ICR must be read for clearing the internal freeze

Re: [PATCH] powerpc/8xx: fix single_step debug

2016-08-18 Thread Gabriel Paubert
On Thu, Aug 18, 2016 at 12:13:21PM +0200, Christophe Leroy wrote: > > > Le 18/08/2016 à 11:58, Gabriel Paubert a écrit : > >On Thu, Aug 18, 2016 at 11:44:20AM +0200, Christophe Leroy wrote: > >>SPRN_ICR must be read for clearing the internal freeze signal which > >>is asserted by the single step

Re: [PATCH] powerpc/8xx: fix single_step debug

2016-08-18 Thread Christophe Leroy
Le 18/08/2016 à 11:58, Gabriel Paubert a écrit : On Thu, Aug 18, 2016 at 11:44:20AM +0200, Christophe Leroy wrote: SPRN_ICR must be read for clearing the internal freeze signal which is asserted by the single step exception, otherwise the timebase and decrementer remain freezed Minor nit:

Re: [PATCH] powerpc/8xx: fix single_step debug

2016-08-18 Thread Gabriel Paubert
On Thu, Aug 18, 2016 at 11:44:20AM +0200, Christophe Leroy wrote: > SPRN_ICR must be read for clearing the internal freeze signal which > is asserted by the single step exception, otherwise the timebase and > decrementer remain freezed Minor nit: s/freezed/frozen/ If the timebase and decrementer

[PATCH] powerpc/8xx: fix single_step debug

2016-08-18 Thread Christophe Leroy
SPRN_ICR must be read for clearing the internal freeze signal which is asserted by the single step exception, otherwise the timebase and decrementer remain freezed Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/reg_8xx.h | 1 + arch/powerpc/kernel/traps.c