• Thomas Gleixner's avatar
    clocksource: Make watchdog robust vs. interruption · b5199515
    Thomas Gleixner authored
    The clocksource watchdog code is interruptible and it has been
    observed that this can trigger false positives which disable the TSC.
    
    The reason is that an interrupt storm or a long running interrupt
    handler between the read of the watchdog source and the read of the
    TSC brings the two far enough apart that the delta is larger than the
    unstable treshold. Move both reads into a short interrupt disabled
    region to avoid that.
    Reported-and-tested-by: default avatarVernon Mauery <vernux@us.ibm.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Cc: stable@kernel.org
    b5199515
clocksource.c 25.3 KB