All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH skeleton v3 0/2] Disable watchdog timer if debug_mode is set
@ 2016-06-30 17:51 OpenBMC Patches
  2016-06-30 17:51 ` [PATCH skeleton v3 1/2] Reformat pychassisctl/chassis_control.py with pep8 standards OpenBMC Patches
  2016-06-30 17:51 ` [PATCH skeleton v3 2/2] Disable watchdog timer if debug_mode is set OpenBMC Patches
  0 siblings, 2 replies; 4+ messages in thread
From: OpenBMC Patches @ 2016-06-30 17:51 UTC (permalink / raw)
  To: openbmc

https://github.com/openbmc/openbmc/issues/246

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 -->


https://github.com/openbmc/skeleton/pull/120

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

-- 
2.9.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-30 21:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-30 17:51 [PATCH skeleton v3 0/2] Disable watchdog timer if debug_mode is set OpenBMC Patches
2016-06-30 17:51 ` [PATCH skeleton v3 1/2] Reformat pychassisctl/chassis_control.py with pep8 standards OpenBMC Patches
2016-06-30 17:51 ` [PATCH skeleton v3 2/2] Disable watchdog timer if debug_mode is set OpenBMC Patches
2016-06-30 21:17   ` Patrick Williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.