[PATCH] ARM: disable interrupt before spinning endlessly

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Jul 29 17:22:16 EDT 2012


On Mon, Jul 09, 2012 at 05:09:48PM +0800, Shawn Guo wrote:
> 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 at denx.de>
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
> ---

Should this also be Cc'd to stable when it's committed?



More information about the linux-arm-kernel mailing list