Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 14 Feb 2003 08:38:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 14 Feb 2003 08:38:31 -0500 Received: from turing-police.cc.vt.edu ([128.173.14.107]:11648 "EHLO turing-police.cc.vt.edu") by vger.kernel.org with ESMTP id ; Fri, 14 Feb 2003 08:38:30 -0500 Message-Id: <200302141348.h1EDmHwZ004754@turing-police.cc.vt.edu> X-Mailer: exmh version 2.6 02/09/2003 with nmh-1.0.4+dev To: Matt Porter Cc: lkml Subject: Re: [PATCH][RFC] Proposal for a new watchdog interface using sysfs In-Reply-To: Your message of "Thu, 13 Feb 2003 15:58:17 MST." <20030213155817.B1738@home.com> From: Valdis.Kletnieks@vt.edu References: <20030213155817.B1738@home.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1264025974P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 14 Feb 2003 08:48:17 -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1689 Lines: 41 --==_Exmh_-1264025974P Content-Type: text/plain; charset=us-ascii On Thu, 13 Feb 2003 15:58:17 MST, Matt Porter said: > Yes, and on embedded SoC devices we have watchdog facilities sitting > on an internal chip bus. It would be nice to find access points in > a uniform place on any Linux system. i.e. PCI watchdog on my x86 desktop > is in the same place as the on-chip watchdog on my PPC44x system. > > IMHO, anything else would be a logical step backwards from accessing > /dev/watchdog across platforms. I admit not having thoroughly read the source to check - is the userspace API for accessing all these chips fairly uniform and rational, so that a user program can be reasonably sure that if stat("/dev/watchdog") returns zero, that it knows how to deal with it? Or are they all sufficiently close to the "keep reloading a countdown timer from userspace, and if it ever doesn't get reloaded, kick the kernel in the seat of the pants" programming model? Of course, even a disagreement on the units of the timer could be bad - a seconds/milliseconds clash could result is a *real* fast lack-of-joy situation.. ;) --==_Exmh_-1264025974P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iD8DBQE+TPOhcC3lWbTT17ARAo3eAJwO5sba0GLmVKJf+4HA6SbLp0afUwCfdCiO g/7HECdmeJmoYqc7HKbmYk8= =0Jy3 -----END PGP SIGNATURE----- --==_Exmh_-1264025974P-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/