From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932136AbdABIR1 (ORCPT ); Mon, 2 Jan 2017 03:17:27 -0500 Received: from mail02.prevas.se ([62.95.78.10]:30866 "EHLO mail02.prevas.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755327AbdABIRZ (ORCPT ); Mon, 2 Jan 2017 03:17:25 -0500 X-Greylist: delayed 756 seconds by postgrey-1.27 at vger.kernel.org; Mon, 02 Jan 2017 03:17:25 EST X-IronPort-AV: E=Sophos;i="5.33,432,1477954800"; d="scan'208";a="1594610" Subject: Re: [PATCH v3 0/2] watchdog: allow setting deadline for opening /dev/watchdogN To: , References: <1481534273-7600-1-git-send-email-rasmus.villemoes@prevas.dk> <1481722654-6266-1-git-send-email-rasmus.villemoes@prevas.dk> CC: Guenter Roeck , Sylvain Lemieux From: Rasmus Villemoes Message-ID: <1a8dd51c-451f-604f-ec21-c8de46533564@prevas.dk> Date: Mon, 2 Jan 2017 09:04:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1481722654-6266-1-git-send-email-rasmus.villemoes@prevas.dk> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [172.16.8.31] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016-12-14 14:37, Rasmus Villemoes wrote: > If a watchdog driver tells the framework that the device is running, > the framework takes care of feeding the watchdog until userspace opens > the device. If the userspace application which is supposed to do that > never comes up properly, the watchdog is fed indefinitely by the > kernel. This can be especially problematic for embedded devices. > > These patches allow one to set a maximum time for which the kernel > will feed the watchdog, thus ensuring that either userspace has come > up, or the board gets reset. Ping. Rasmus