Bug 61084 - RFE: allow to configure watchdog device and support multiple watchdog devices
Summary: RFE: allow to configure watchdog device and support multiple watchdog devices
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-18 21:00 UTC by Enrico Scholz
Modified: 2019-08-22 10:32 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico Scholz 2013-02-18 21:00:45 UTC
With recent kernels, watchdog is not a simple misc device anymore but there can exist multiple instances. This means that a system can have /dev/watchdog0 (--> e.g. CPU internal watchdog timer) and /dev/watchdog1 (external watchdog circuit) where watchdog1 is more reliable (e.g. because it generates reset signals for external devices too).

/dev/watchdog still exists in this setup but equals to /dev/watchdog0 (misc device is created for the first wd only).

Hence, please allow to configure the used watchdog device in a first step. In a second step, multiple watchdogs with corresponding 'Wants = dev-watchdogX.device' entries should be supported to cope with changed device names due to random/parallel module loading.
Comment 1 Zbigniew Jedrzejewski-Szmek 2019-08-22 10:32:42 UTC
The first part implemented as https://github.com/systemd/systemd/commit/8a2c1fbfc3. If support for multiple watchdog devices is still needed, please open an issue on the new bugtracker on https://github.com/systemd/systemd/issues/.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.