lkml.org 
[lkml]   [2017]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.12 07/31] parisc: Suspend lockup detectors before system halt
    Date
    4.12-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Helge Deller <deller@gmx.de>

    commit 56188832a50f09998cb570ba3771a1d25c193c0e upstream.

    Some machines can't power off the machine, so disable the lockup detectors to
    avoid this watchdog BUG to show up every few seconds:
    watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [systemd-shutdow:1]

    Signed-off-by: Helge Deller <deller@gmx.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    arch/parisc/kernel/process.c | 2 ++
    1 file changed, 2 insertions(+)

    --- a/arch/parisc/kernel/process.c
    +++ b/arch/parisc/kernel/process.c
    @@ -53,6 +53,7 @@
    #include <linux/uaccess.h>
    #include <linux/rcupdate.h>
    #include <linux/random.h>
    +#include <linux/nmi.h>

    #include <asm/io.h>
    #include <asm/asm-offsets.h>
    @@ -145,6 +146,7 @@ void machine_power_off(void)

    /* prevent soft lockup/stalled CPU messages for endless loop. */
    rcu_sysrq_start();
    + lockup_detector_suspend();
    for (;;);
    }


    \
     
     \ /
      Last update: 2017-08-04 01:25    [W:2.082 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site