original_kernel/drivers/watchdog
Bernhard Walle 290172e790 [WATCHDOG] hpwdt: Fix kdump when using hpwdt
When the "hpwdt" module is loaded (even if the /dev/watchdog device is not
opened), then kdump does not work. The panic kernel either does not start at
all or crash in various places.

The problem is that hpwdt_pretimeout is registered with register_die_notifier()
with the highest possible priority. Because it returns NOTIFY_STOP, the
crash_nmi_callback which is also registered with register_die_notifier()
is never executed. This causes the shutdown of other CPUs to fail.

Reverting the order is no option: The crash_nmi_callback executes HLT
and so never returns normally. Because of that, it must be executed as
last notifier, which currently is done.

So, that patch returns NOTIFY_OK to keep the crash_nmi_callback executed.

Signed-off-by: Bernhard Walle <bwalle@suse.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Thomas Mingarelli <thomas.mingarelli@hp.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
2008-12-01 15:55:10 +00:00
..
Kconfig [WATCHDOG] SAM9 watchdog - supported on all SAM9 and CAP9 processors 2008-11-06 08:54:37 +00:00
Makefile
acquirewdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
advantechwdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
alim1535_wdt.c
alim7101_wdt.c
ar7_wdt.c
at32ap700x_wdt.c
at91rm9200_wdt.c
at91sam9_wdt.c [WATCHDOG] SAM9 watchdog - update for moved headers 2008-11-06 08:44:11 +00:00
bfin_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
booke_wdt.c powerpc: Fix Book-E watchdog timer interval setting 2008-11-08 12:38:59 -06:00
cpu5wdt.c
cpwd.c
davinci_wdt.c
ep93xx_wdt.c
eurotechwdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
geodewdt.c
hpwdt.c [WATCHDOG] hpwdt: Fix kdump when using hpwdt 2008-12-01 15:55:10 +00:00
i6300esb.c [WATCHDOG] pci: use pci_ioremap_bar() in drivers/watchdog 2008-10-24 07:47:24 +00:00
iTCO_vendor.h
iTCO_vendor_support.c [WATCHDOG] iTCO_wdt : problem with rebooting on new ICH9 based motherboards 2008-11-21 08:34:26 +00:00
iTCO_wdt.c [WATCHDOG] iTCO_wdt: add PCI ID's for ICH9 & ICH10 chipsets 2008-11-21 08:34:38 +00:00
ib700wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
ibmasr.c
indydog.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
iop_wdt.c
it87_wdt.c
it8712f_wdt.c
ixp4xx_wdt.c
ixp2000_wdt.c
ks8695_wdt.c
machzwd.c
mixcomwd.c
mpc8xxx_wdt.c
mpc5200_wdt.c
mpcore_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
mtx-1_wdt.c [WATCHDOG] fix mtx1_wdt compilation failure 2008-11-21 08:20:49 +00:00
mv64x60_wdt.c
omap_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
omap_wdt.h
orion5x_wdt.c
pc87413_wdt.c
pcwd.c
pcwd_pci.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
pcwd_usb.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
pnx4008_wdt.c
rc32434_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
rdc321x_wdt.c
riowd.c
rm9k_wdt.c
s3c2410_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
sa1100_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
sb_wdog.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
sbc60xxwdt.c
sbc7240_wdt.c
sbc8360.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
sbc_epx_c3.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
sc520_wdt.c
sc1200wdt.c
scx200_wdt.c
shwdt.c
smsc37b787_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
softdog.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
txx9wdt.c
w83627hf_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
w83697hf_wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
w83697ug_wdt.c
w83877f_wdt.c
w83977f_wdt.c
wafer5823wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
wd501p.h
wdrtas.c
wdt.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
wdt285.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00
wdt977.c
wdt_pci.c [PATCH] Switch all my contributions stuff to a single common address 2008-10-28 19:16:11 +00:00