[PATCH skeleton v2 0/2] Disable watchdog timer if debug_mode is set

OpenBMC Patches openbmc-patches at stwcx.xyz
Fri Jul 1 01:50:51 AEST 2016


debug_mode is used when the host is not going to be started.
In this case, we do not want the watchdog timer to be started
because there is no one to keep it from resetting.

This code change prevents the watchdog from being started
during poweron.

Potential side affects could be if we do start the host
in this code path.  The watchdog is un-tested when it's
not started but software comes in and tries to reset it.
The code in control_host_obj.c currently enforces the
no-host-power-on when debug_mode is set.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/skeleton/120)
<!-- Reviewable:end -->


Andrew Geissler (2):
  Reformat pychassisctl/chassis_control.py with pep8 standards
  Disable watchdog timer if debug_mode is set

 pychassisctl/chassis_control.py | 408 +++++++++++++++++++++-------------------
 1 file changed, 216 insertions(+), 192 deletions(-)
 mode change 100644 => 100755 pychassisctl/chassis_control.py


More information about the openbmc mailing list