commit | 6c50ad9d29672a64ad97348938c7866370d74841 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Sat Jul 29 22:38:28 2017 -0700 |
committer | Patrick Venture <venture@google.com> | Tue Aug 15 18:12:43 2017 -0700 |
tree | 33d22524c28c7e846646f8250dc25f973fdf25d7 | |
parent | 1bb0d387cd238a1d4b8c38c474433ccaada47a22 [diff] |
Handle an action byte value of 0 in the set watchdog timer command There are multiple options for the action field of the command. This change only addresses one, where the caller wants there to be no action taken when the timer expires. Because the implementation of the watchdog doesn't support multiple actions in precisely that arrangement, it makes sense to simply disable the timer. The default behaviour on x86 of the ipmi_watchdog driver is to first set the watchdog to 10s and an action of "none" and then set it to 10s with an action of "hard reset." This change is necessary to stop the watchdog from resetting the host when it receives the initial setting with the action of "none." Change-Id: I1a541824d2bd0d7a0c33ec5759c7c959cc2ae5ee Signed-off-by: Patrick Venture <venture@google.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To full clean the repository again run ./bootstrap.sh clean
.