Thread (5 messages) flat view 5 messages, 3 authors, 2012-07-30
STALE5151d

[PATCH] ARM: disable interrupt before spinning endlessly

From: marex@denx.de (Marek Vasut)
Date: 2012-07-13 17:32:34

Dear Shawn Guo,
The CPU will endlessly spin at the end of machine_halt and
machine_restart calls.  However, this will lead to a soft lockup
warning after about 20 seconds, if CONFIG_LOCKUP_DETECTOR is enabled,
as system timer is still alive.

Disable interrupt before going to spin endlessly, so that the lockup
warning will never be seen.

Reported-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <redacted>
---
 arch/arm/kernel/process.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
I just got back from a conference, I'd gladly test. But my mx28 doesn't boot at 
all with latest -next. Any idea why?

Best regards,
Marek Vasut
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help