Re: [PATCH] kernel/watchdog: use nmi registers snapshot in hardlockup handler

From: Andrew Morton
Date: Fri Jul 08 2016 - 17:03:24 EST


On Tue, 05 Jul 2016 14:20:47 +0300 Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx> wrote:

> NMI handler doesn't call set_irq_regs(), so get_irq_regs() returns NULL or
> stale snapshot from beginning of IRQ interrupted by NMI. Registers from
> argument are always here and points to interrupted instruction and state.

Changelog is quite poor. Please send along a new one which describes
in full detail how this patch alters kernel behaviour.

Such a description will help others decide whether their kernel might
need this patch and permits others to decide which kernel versions need
the fix.