linux-stable-rt/drivers/watchdog
Linus Torvalds cd92a17eec iTCO_wdt: fix typo when setting TCO_EN bit
The code used '&= 0x00002000' when it tried to set the TCO_EN bit, which
obviously didn't set that bit at all, but instead just reset all the
other bits in the SMI_EN register.

This bug seemingly caused various random behavior, with Frans Pop
reporting that X.org just silently hung at startup and Rafael Wysocki
reports the fan spinning with full speed.

See
	http://lkml.org/lkml/2008/12/3/178
	http://bugzilla.kernel.org/show_bug.cgi?id=12162

The problem seems to have been triggered by "[WATCHDOG] iTCO_wdt :
problem with rebooting on new ICH9 based motherboards" (commit
7cd5b08be3), but the bogus code existed
before that too (in the "supermicro_old_pre_stop()" function), it just
apparently never showed up due to different logic.

In that commit the broken code got moved around and now gets executed
much more.

Reported-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Frans Pop <elendil@planet.nl>
Cc: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-12-03 16:20:19 -08:00
..
Kconfig
Makefile
acquirewdt.c
advantechwdt.c
alim1535_wdt.c
alim7101_wdt.c
ar7_wdt.c
at32ap700x_wdt.c
at91rm9200_wdt.c
at91sam9_wdt.c
bfin_wdt.c
booke_wdt.c
cpu5wdt.c
cpwd.c
davinci_wdt.c
ep93xx_wdt.c
eurotechwdt.c
geodewdt.c
hpwdt.c [WATCHDOG] hpwdt: Fix kdump when using hpwdt 2008-12-01 15:55:10 +00:00
i6300esb.c
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 iTCO_wdt: fix typo when setting TCO_EN bit 2008-12-03 16:20:19 -08:00
ib700wdt.c
ibmasr.c
indydog.c
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
mtx-1_wdt.c
mv64x60_wdt.c
omap_wdt.c
omap_wdt.h
orion5x_wdt.c
pc87413_wdt.c
pcwd.c
pcwd_pci.c
pcwd_usb.c
pnx4008_wdt.c
rc32434_wdt.c
rdc321x_wdt.c
riowd.c
rm9k_wdt.c
s3c2410_wdt.c
sa1100_wdt.c
sb_wdog.c
sbc60xxwdt.c
sbc7240_wdt.c
sbc8360.c
sbc_epx_c3.c
sc520_wdt.c
sc1200wdt.c
scx200_wdt.c
shwdt.c
smsc37b787_wdt.c
softdog.c
txx9wdt.c
w83627hf_wdt.c
w83697hf_wdt.c
w83697ug_wdt.c
w83877f_wdt.c
w83977f_wdt.c
wafer5823wdt.c
wd501p.h
wdrtas.c
wdt.c
wdt285.c
wdt977.c
wdt_pci.c