From owner-freebsd-current@FreeBSD.ORG Mon Dec 12 20:14:10 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 771F9106564A for ; Mon, 12 Dec 2011 20:14:10 +0000 (UTC) (envelope-from bangel@elite.net) Received: from mail.elite.net (svr08.atwtca02.fire2wire.net [67.118.192.24]) by mx1.freebsd.org (Postfix) with ESMTP id 5ECA78FC17 for ; Mon, 12 Dec 2011 20:14:10 +0000 (UTC) Received: from adsl-99-110-156-21.dsl.irvnca.sbcglobal.net ([99.110.156.21] helo=[192.168.123.220]) by mail.elite.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RaBr0-00080r-Q2; Mon, 12 Dec 2011 11:48:04 -0800 Message-ID: <4EE65AB4.1010405@elite.net> Date: Mon, 12 Dec 2011 11:49:08 -0800 From: Keith Simonsen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <4E0A5689.2020302@delphij.net> <20111207092907.GA1645@garage.freebsd.pl> <7BD6CA15-3329-4684-8127-665CDC171B22@lists.zabbadoz.net> In-Reply-To: <7BD6CA15-3329-4684-8127-665CDC171B22@lists.zabbadoz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: d@delphij.net, FreeBSD Current , Pawel Jakub Dawidek Subject: Re: [RFC] winbond watchdog driver for FreeBSD/i386 and FreeBSD/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2011 20:14:10 -0000 On 12/7/2011 02:17, Bjoern A. Zeeb wrote: > On 7. Dec 2011, at 09:29 , Pawel Jakub Dawidek wrote: > >> On Tue, Jun 28, 2011 at 03:32:41PM -0700, Xin LI wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA256 >>> >>> Hi, >>> >>> I'd like to request for comments on the attached driver, which supports >>> watchdogs on several Winbond super I/O chip models and have been tested >>> on a few of recent Supermicro motherboards. >> >> Is there any reason this is not yet committed? Please commit, pretty >> please. > > Yes we have 2+ of them and are trying to merge. The other one sits here > and allows you even longer timeouts as well as time setting the timeout > independent of watchdogd in case you have two watchdogs and want to do tricks > like NMI/reset with the other one... but is lacking the man page yet. > I have added another one or two IC revisions I think that I had found > and tested privately. > > http://people.freebsd.org/~bz/patch-20110710-03-wbwd.diff > I've been using 20110718-02-wbwd.diff for a few months now on a project with PC Engines Alix 1.d boards (http://pcengines.ch/alix1d.htm). They have a Winbond W83627HG chip. I don't see any probing/attach messages on boot but the driver seems to be properly configuring the chip - if I kill watchdogd with -9 the board reboots with watchdog timeout. I'm also trying to use the above winbond chip for GPIO (userland bit banging at this point). > /bz > -Keith