Page MenuHomeFreeBSD

watchdog: Add a new "Control" ioctl
AcceptedPublic

Authored by jhibbits on Feb 28 2025, 6:55 PM.
Tags
None
Referenced Files
F120816696: D49182.id151696.diff
Sat, Jun 21, 8:33 AM
F120791600: D49182.id151696.diff
Sat, Jun 21, 3:23 AM
Unknown Object (File)
Wed, Jun 18, 7:36 PM
Unknown Object (File)
Sun, Jun 15, 2:26 AM
Unknown Object (File)
Sat, Jun 14, 11:35 AM
Unknown Object (File)
Tue, Jun 10, 9:50 PM
Unknown Object (File)
Sat, May 31, 6:18 PM
Unknown Object (File)
May 8 2025, 6:46 AM
Subscribers

Details

Reviewers
jhb
imp
phk
stevek
Summary

In preparation for a new watchdog timeout interface using sbintime_t,
add a new control ioctl to arm, pat, and disarm the watchdog.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62696
Build 59580: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 12 2025, 7:52 PM
sys/dev/watchdog/watchdog.c
128

Do you mean to call it twice back to back with the same arguments if both RESET and ENABLE are set?

sys/dev/watchdog/watchdog.c
128

No, I intended to make it an else if here (might need to do more work in one of them, but haven't decided if I do, so keeping them separate). Will fix.