[PATCH] ARM: disable interrupt before spinning endlessly

Marek Vasut marex at denx.de
Fri Jul 13 13:32:34 EDT 2012


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 at denx.de>
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
> ---
>  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



More information about the linux-arm-kernel mailing list