From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.active-venture.com ([67.228.131.205]:59843 "EHLO mail.active-venture.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752840AbaCJC3S (ORCPT ); Sun, 9 Mar 2014 22:29:18 -0400 Message-ID: <531D237C.5070400@roeck-us.net> Date: Sun, 09 Mar 2014 19:29:16 -0700 From: Guenter Roeck MIME-Version: 1.0 To: Marc van der Wal , Wim Van Sebroeck CC: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] it87_wdt: Work around non-working CIR interrupts References: <20140306093659.GA24854@freyja> In-Reply-To: <20140306093659.GA24854@freyja> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@vger.kernel.org On 03/06/2014 01:36 AM, Marc van der Wal wrote: > From: Marc van der Wal > > 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