Page MenuHomeFreeBSD

watchdog: Add a new "Control" ioctl
ClosedPublic

Authored by jhibbits on Feb 28 2025, 6:55 PM.
Tags
None
Referenced Files
F168469978: D49182.id160365.diff
Fri, Aug 28, 1:40 PM
F168469010: D49182.id151696.diff
Fri, Aug 28, 1:34 PM
F168462672: D49182.diff
Fri, Aug 28, 12:52 PM
F168449330: D49182.id151696.diff
Fri, Aug 28, 10:40 AM
Unknown Object (File)
Thu, Aug 27, 11:33 PM
Unknown Object (File)
Wed, Aug 26, 5:46 AM
Unknown Object (File)
Wed, Aug 19, 11:41 AM
Unknown Object (File)
Mon, Aug 17, 1:14 PM
Subscribers

Details

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.

This revision now requires review to proceed.Aug 6 2025, 8:39 PM
This revision is now accepted and ready to land.Aug 14 2025, 5:05 PM
This revision was automatically updated to reflect the committed changes.