From: Marc van der Wal Date: Thu, 6 Mar 2014 09:36:59 +0000 (+0100) Subject: watchdog: it87_wdt: Work around non-working CIR interrupts X-Git-Tag: v3.15-rc1~146^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bcd0b6a47431d9895dc2dd6a8c4185008849131;p=pandora-kernel.git watchdog: it87_wdt: Work around non-working CIR interrupts On some hardware platforms, the it87_wdt watchdog resets the machine despite the watchdog daemon running and writing to /dev/watchdog. This is due to Consumer IR buffer underrun interrupts being used as triggers to reset the timer. On some buggy hardware implementations such as the iEi AFL-12A-N270 single-board computer, this method does not work. However, resetting the timer by writing its original timeout value in its configuration register over and over again suppresses the unwanted reboots. Add a module option (nocir), 0 by default in order not to break existing setups. Setting it to 1 enables the workaround. Fixes bug #42801 . Tested primarily on Linux 3.5.7, applies cleanly on Linux 3.13.5. Signed-off-by: Marc van der Wal Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed