<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/watchdog, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-01-03T00:56:30Z</updated>
<entry>
<title>make SW_WATCHDOG dynamic</title>
<updated>2018-01-03T00:56:30Z</updated>
<author>
<name>Mike Karels</name>
<email>karels@FreeBSD.org</email>
</author>
<published>2018-01-03T00:56:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d626b50b9db1f1fea4d0bf3668a05f8198fe83dd'/>
<id>urn:sha1:d626b50b9db1f1fea4d0bf3668a05f8198fe83dd</id>
<content type='text'>
Enable the hardclock-based watchdog previously conditional on the
SW_WATCHDOG option whenever hardware watchdogs are not found, and
watchdogd attempts to enable the watchdog. The SW_WATCHDOG option
still causes the sofware watchdog to be enabled even if there is a
hardware watchdog. This does not change the other software-based
watchdog enabled by the --softtimeout option to watchdogd.

Note that the code to reprime the watchdog during kernel core dumps is
no longer conditional on SW_WATCHDOG. I think this was previously a bug.

Reviewed by:	imp alfred bjk
MFC after:	1 week
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D13713
</content>
</entry>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Some cosmetic polishing for pre-timeouts.</title>
<updated>2017-04-20T09:01:31Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2017-04-20T09:01:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d1025db49eef93340911de3807b622f8dd3edea1'/>
<id>urn:sha1:d1025db49eef93340911de3807b622f8dd3edea1</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten</title>
<updated>2015-05-22T17:05:21Z</updated>
<author>
<name>Jung-uk Kim</name>
<email>jkim@FreeBSD.org</email>
</author>
<published>2015-05-22T17:05:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fd90e2ed54a69bb07d14dcd4e805431ccb7d6cb6'/>
<id>urn:sha1:fd90e2ed54a69bb07d14dcd4e805431ccb7d6cb6</id>
<content type='text'>
years for head.  However, it is continuously misused as the mpsafe argument
for callout_init(9).  Deprecate the flag and clean up callout_init() calls
to make them more consistent.

Differential Revision:	https://reviews.freebsd.org/D2613
Reviewed by:	jhb
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Add a missing include of an options header.</title>
<updated>2015-02-28T22:37:48Z</updated>
<author>
<name>Ryan Stone</name>
<email>rstone@FreeBSD.org</email>
</author>
<published>2015-02-28T22:37:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ce6682d990ecc2d3423fa87728a29073b104d94c'/>
<id>urn:sha1:ce6682d990ecc2d3423fa87728a29073b104d94c</id>
<content type='text'>
watchdog.c does an #ifdef DDB but does not #include "opt_ddb.h".
Fixing this turned up a missing include file.

MFC after:	1 week
X-MFC-With:	r261495, r279410
</content>
</entry>
<entry>
<title>Use right buffer to print to.</title>
<updated>2014-02-04T20:52:33Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2014-02-04T20:52:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=35a3f5a1b9900d38b4b0e3050b2499f04998f302'/>
<id>urn:sha1:35a3f5a1b9900d38b4b0e3050b2499f04998f302</id>
<content type='text'>
PR:		kern/176597
Submitted by:	Christoph Mallon &lt;christoph mallon gmx de&gt;
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Fix watchdog pretimeout.</title>
<updated>2013-07-27T20:47:01Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2013-07-27T20:47:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3d30404f8339e4029b2673e8892134e9b01f1305'/>
<id>urn:sha1:3d30404f8339e4029b2673e8892134e9b01f1305</id>
<content type='text'>
The original API calls for pow2ns, however the new APIs from
Linux call for seconds.

We need to be able to convert to/from 2^Nns to seconds in both
userland and kernel to fix this and properly compare units.
</content>
</entry>
<entry>
<title>watchdogd(8) and watchdog(4) enhancements.</title>
<updated>2013-02-27T19:03:31Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2013-02-27T19:03:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4b9b732ac0023efb10c6f3f61d804cfe1fb785e6'/>
<id>urn:sha1:4b9b732ac0023efb10c6f3f61d804cfe1fb785e6</id>
<content type='text'>
The following support was added to watchdog(4):
- Support to query the outstanding timeout.
- Support to set a software pre-timeout function watchdog with an 'action'
- Support to set a software only watchdog with a configurable 'action'

'action' can be a mask specifying a single operation or a combination of:
 log(9), printf(9), panic(9) and/or kdb_enter(9).

Support the following in watchdogged:
- Support to utilize the new additions to watchdog(4).
- Support to warn if a watchdog script runs for too long.
- Support for "dry run" where we do not actually arm the watchdog,
  but only report on our timing.

Sponsored by:   iXsystems, Inc.
MFC after:      1 month
</content>
</entry>
<entry>
<title>- Add the possibility to reuse the already last used timeout when patting</title>
<updated>2011-04-27T16:43:03Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-04-27T16:43:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7126ba42f6aed181e974246d46bfe3409da8b8ac'/>
<id>urn:sha1:7126ba42f6aed181e974246d46bfe3409da8b8ac</id>
<content type='text'>
  the watchdog, via the watchdog(9) interface.
  For that, the WD_LASTVAL bitwise operation is used. It is mutually
  exclusive with any explicit timout passing to the watchdogs.
  The last timeout can be returned via the wdog_kern_last_timeout()
  KPI.
- Add the possibility to pat the watchdogs installed via the watchdog(9)
  interface from the kernel.
  In order to do that the new KPI wdog_kern_pat() is offered and it does
  accept normalized nanoseconds or WD_LASTVAL.
- Avoid to pass WD_ACTIVE down in the watchdog handlers. All the control
  bit processing should over to the upper layer functions and not passed
  down to the handlers at all.

These changes are intended to be used in order to fix up the watchdog
tripping in situation when the userland is busted, but protection is still
wanted (examples: shutdown syncing / disk dumping).

Sponsored by:	Sandvine Incorporated
Reviewed by:	emaste, des, cognet
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Revisit the watchdogs: Resetting the error to EINVAL after failing to set the</title>
<updated>2007-03-27T21:03:37Z</updated>
<author>
<name>Nick Hibma</name>
<email>n_hibma@FreeBSD.org</email>
</author>
<published>2007-03-27T21:03:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f29fa1dfa4c73d0ad8ae958e4cb0160232473309'/>
<id>urn:sha1:f29fa1dfa4c73d0ad8ae958e4cb0160232473309</id>
<content type='text'>
watchdog might hide the succesful arming of an earlier one. Accept that on
failing to arm any watchdog (because of non-supported timeouts) EOPNOTSUPP is
returned instead of the more appropriate EINVAL.

MFC after:	3 days
</content>
</entry>
</feed>
