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

[PATCH] ARM: disable interrupt before spinning endlessly

From: Shawn Guo <hidden>
Date: 2012-07-30 00:30:20

On Sun, Jul 29, 2012 at 10:22:16PM +0100, Russell King - ARM Linux wrote:
On Mon, Jul 09, 2012 at 05:09:48PM +0800, Shawn Guo wrote:
quoted
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>
---
Should this also be Cc'd to stable when it's committed?
Yes, I forgot it.

I assume you will take care of it when you commit it to your tree.
Otherwise, please let me know and I will resubmit the patch.

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