From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH] msm: watchdog: support watchdog on 8x60 and 8960 Date: Thu, 28 Apr 2011 17:19:10 +0000 Message-ID: <20110428171909.GC7345@localhost.ucw.cz> References: <1301105894-22835-1-git-send-email-johlstei@codeaurora.org> <1301426560.4049.0.camel@m0nster> <4D92B43B.5050101@codeaurora.org> <1301501006.5346.2.camel@m0nster> <20110330161419.GB28252@pulham.picochip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from ksp.mff.cuni.cz ([195.113.26.206]:33175 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755034Ab1D1RTS (ORCPT ); Thu, 28 Apr 2011 13:19:18 -0400 Content-Disposition: inline In-Reply-To: <20110330161419.GB28252@pulham.picochip.com> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Jamie Iles Cc: Daniel Walker , Jeff Ohlstein , Bryan Huntsman , David Brown , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Russell King , Stepan Moskovchenko , Gregory Bean , Abhijeet Dharmapurikar > > It doesn't sound too different that all the other watchdogs in > > drivers/watchdog/ .. Your just detecting lockups right? > > There are some watchdogs in there such as > drivers/watchdog/at91sam9_wdt.c that can't be stopped once enabled so > the driver sets up a soft timer in the kernel that kicks the watchdog to > prevent the system rebooting. > > With this approach you could have the watchdog always enabled and being > kicked even if the userspace daemon wasn't running, but with the > flexibility of kicking it from userspace if you wanted. sounds like a way to do it. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html