linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] watchdog/hpwdt: Disable Pretimeout/NMI in Crash Path
@ 2020-11-23  2:08 Jerry Hoemann
  2020-11-23  2:08 ` [PATCH 1/2] watchdog/hpwdt: Disable NMI in Crash Kernel Jerry Hoemann
  2020-11-23  2:08 ` [PATCH 2/2] watchdog/hpwdt: Reflect changes Jerry Hoemann
  0 siblings, 2 replies; 5+ messages in thread
From: Jerry Hoemann @ 2020-11-23  2:08 UTC (permalink / raw)
  To: linux, wim; +Cc: kasong, linux-watchdog, Jerry Hoemann

An intermittent issue was first noticed on RHEL 8.x during kdump.
When the dump completed and the system was in the process of resetting
an NMI would get generated as a result of an IO error.

For a discussion of the underlying cause and attempt to fix see:
	https://lkml.org/lkml/2019/12/25/159

The kernel's handling of the NMI generated an intermittent
secondary NMI that would hang the system.

As systemd enables WDT during shutdown, the WDT should have broken
the system out of the hang, but hpwdt_pretimeout stops the WDT
in order to allow the collection of a kdump.  But as we are
already in the crash kernel when the NMI is received, stopping 
the WDT is not necessary.

Jerry Hoemann (2):
  watchdog/hpwdt: Disable NMI in Crash Kernel
  watchdog/hpwdt: Reflect changes

 drivers/watchdog/hpwdt.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-23  2:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23  2:08 [PATCH 0/2] watchdog/hpwdt: Disable Pretimeout/NMI in Crash Path Jerry Hoemann
2020-11-23  2:08 ` [PATCH 1/2] watchdog/hpwdt: Disable NMI in Crash Kernel Jerry Hoemann
2020-11-23  2:20   ` Guenter Roeck
2020-11-23  2:08 ` [PATCH 2/2] watchdog/hpwdt: Reflect changes Jerry Hoemann
2020-11-23  2:20   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).