]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/watchdog/iTCO_wdt.c
[WATCHDOG] iTCO_wdt: fix memory corruption when RCBA is disabled by hardware
authorDenis V. Lunev <den@openvz.org>
Fri, 5 Jun 2009 11:13:08 +0000 (15:13 +0400)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 18 Jun 2009 07:31:44 +0000 (07:31 +0000)
commitde8cd9a3067e25a860c225f794e6b249b73aa6b1
tree48dd6f028d03fd4595ee3551e57eae35f73cc671
parente73a780272a46e897bd94a4870fd6b6a8655d2d4
[WATCHDOG] iTCO_wdt: fix memory corruption when RCBA is disabled by hardware

According to 9.1.33 on p.343 of ICH8.pdf RCBA can be disabled by
hardware if bit 0 of RCBA register is not set.

Perform correct check for this to prevent memory corruption under
some virtual machines where this feature is disabled.

Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Vasily Averin <vvs@openvz.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/watchdog/iTCO_wdt.c