RE: mpc83xx_restart() buggy

From: Joakim Tjernlund <hidden>
Date: 2007-01-09 08:13:30

-----Original Message-----
From:=20
linuxppc-dev-bounces+joakim.tjernlund=3Dtransmode.se@ozlabs.org=20
[mailto:linuxppc-dev-bounces+joakim.tjernlund=3Dtransmode.se@ozl
abs.org] On Behalf Of Scott Wood
Sent: 30 December 2006 00:04
To: Kumar Gala
Cc: Tjernlund; 'linuxppc-dev'
Subject: Re: mpc83xx_restart() buggy
=20
Kumar Gala wrote:
quoted
On Dec 27, 2006, at 6:45 PM, Tjernlund wrote:
quoted
mpc83xx_restart() uses ioremap(), which doesn't like
beeing called while in IRQ context.

Calling mpc83xx_restart() in IRQ context yields OOPS
which calls mpc83xx_restart() again and the loop never
termintes.
=20
This is interesting, I know I've seen restart work properly w/o an =20
oops.  How are you causing the restart?
=20
sysrq-b triggers it, as probably does crashing from an=20
interrupt handler=20
with panic_timeout nonzero.  You'll need CONFIG_DEBUG_SPINLOCK_SLEEP=20
turned on, of course.
=20
-Scott
Any chance for a fix soon?

 Jocke
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help