Convert the IPMI watchdog to use the watchdog
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | watchdog: Ignore stop_on_reboot if no stop functiondrivers/ | +9 | 1 reply | |
| 2/10 | watchdog: Add read capabilitydrivers/ include/ | +53 | 0 replies | |
| 3/10 | watchdog: Add documentation for read capabilityDocumentation/ | +12 | 1 reply | |
| 4/10 | watchdog: Add functions to set the timeout and pretimeoutdrivers/ include/ | +52 | 1 reply | |
| 5/10 | watchdog: Export an interface to start the watchdogdrivers/ include/ | +29 | 1 reply | |
| 6/10 | ipmi:watchdog: Convert over to the watchdog frameworkdrivers/ | +153 | 0 replies | |
| 7/10 | ipmi:watchdog: Allow the reboot timeout to be specifieddrivers/ | +8 | 0 replies | |
| 8/10 | watchdog: Add a way to extend the timeout on a rebootdrivers/ include/ | +6 | 1 reply | |
| 9/10 | ipmi:watchdog: Convert over to watchdog framework reboot handlingdrivers/ | +3 | 0 replies | |
| 10/10 | ipmi:watchdog: Add the op to get the current timeoutdrivers/ | +80 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] Convert the IPMI watchdog to use the watchdog
This has been discussed before, and I've been working on it. I think this is the minimum that can be done to keep the IPMI watchdog functionality exactly the same and use the watchdog subsystem.
The first patch is something that I thought might be a bug, and is not directly related to the changes.
The IPMI watchdog has the following capabilities that need extensions to the watchdog subsystem:
* The ability to provide read data on the device when a pretimeout occurs.
* The ability to dynamically set the timeout and pretimeout with module parameters.
* The ability to start the watchdog as soon as the driver starts.
I have no idea if anyone is using the capabilities, but they are there, unfortunately.
A patch later in the series adds the ability to modify the watchdog time on a reboot. This was specifically requested in the past, so I know it was at least used in the past. The IPMI watchdog driver can do this itself, but it's simple to add to the watchdog framework and gets rid of some redundant code.
This leaves the driver code in the ipmi directory. After these changes it could be moved, but it doesn't matter much to me.
Thanks,
-corey