Re: MPC83xx reset status register (RSR, offset 0x910)

2018-09-18 Thread Radu Rendec
Hi Christophe, On Thu, 2018-09-13 at 10:21 +0200, Christophe LEROY wrote: > > Le 11/09/2018 à 00:17, Radu Rendec a écrit : > > > > The MPC83xx also has a watchdog and the kernel driver (mpc8xxx_wdt.c) > > could also be improved to support the WDIOC_GETBOOTSTATUS ioctl and > > properly report if th

Re: MPC83xx reset status register (RSR, offset 0x910)

2018-09-13 Thread Christophe LEROY
Le 11/09/2018 à 00:17, Radu Rendec a écrit : Hi, On Mon, 2018-09-10 at 07:37 +0200, Christophe Leroy wrote: Le 10/09/2018 à 01:13, Radu Rendec a écrit : I'm using U-boot as well, but it's just not configured to read or clear the RSR. I'm curious: if U-boot reads/clears the RSR in your case

Re: MPC83xx reset status register (RSR, offset 0x910)

2018-09-10 Thread Radu Rendec
Hi, On Mon, 2018-09-10 at 07:37 +0200, Christophe Leroy wrote: > Le 10/09/2018 à 01:13, Radu Rendec a écrit : > > > > I'm using U-boot as well, but it's just not configured to read or clear > > the RSR. I'm curious: if U-boot reads/clears the RSR in your case, how > > do you make the initial value

Re: MPC83xx reset status register (RSR, offset 0x910)

2018-09-09 Thread Christophe LEROY
Hi, Le 10/09/2018 à 01:13, Radu Rendec a écrit : Hi, On Fri, 2018-08-24 at 16:20 +, Christophe Leroy wrote: On 08/03/2018 04:36 PM, Radu Rendec wrote: Is there any kernel code that handles the "reset status register" (RSR) on MPC83xx? I looked at arch/powerpc/platforms/83xx/misc.c, but it

Re: MPC83xx reset status register (RSR, offset 0x910)

2018-09-09 Thread Radu Rendec
Hi, On Fri, 2018-08-24 at 16:20 +, Christophe Leroy wrote: > > On 08/03/2018 04:36 PM, Radu Rendec wrote: > > > > Is there any kernel code that handles the "reset status register" (RSR) > > on MPC83xx? I looked at arch/powerpc/platforms/83xx/misc.c, but it seems > > to only map the reset regis

Re: MPC83xx reset status register (RSR, offset 0x910)

2018-08-24 Thread Christophe Leroy
Hi On 08/03/2018 04:36 PM, Radu Rendec wrote: Hi Everyone, Is there any kernel code that handles the "reset status register" (RSR) on MPC83xx? I looked at arch/powerpc/platforms/83xx/misc.c, but it seems to only map the reset register area and it's static. The watchdog driver (drivers/watchdog/

MPC83xx reset status register (RSR, offset 0x910)

2018-08-03 Thread Radu Rendec
Hi Everyone, Is there any kernel code that handles the "reset status register" (RSR) on MPC83xx? I looked at arch/powerpc/platforms/83xx/misc.c, but it seems to only map the reset register area and it's static. The watchdog driver (drivers/watchdog/mpc8xxx_wdt.c) doesn't seem to look at it either